Messages in this thread | | | Date | Mon, 27 Jan 2003 15:03:13 +0100 | From | Andries Brouwer <> | Subject | Re: [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.
Andries - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |