[lkml]   [2003]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] fs/partitions/msdos.c Guard against negative sizes
[ach, I didnt pay attention, had not seen that this was cc-ed to l-k;
let me repeat on l-k]

On Mon, Jan 27, 2003 at 12:30:05PM +0100, Ph. Marek wrote:

> u32 size = NR_SECTS(p)*sector_size;
> - if (!size)
> + if (size <= 0)

This doesnt work since size is unsigned.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.041 / U:2.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site