Re: Simple script that locks up my box with recent kernels

From: Linus Torvalds
Date: Tue Nov 21 2006 - 22:45:27 EST




On Tue, 21 Nov 2006, Dave Jones wrote:
>
> ITYM...
>
> memset(buf, 0, SIZE);

I'm just checking that you're paying attention.

There's a reason sparse warns about the third parameter of a memset()
being zero ;)

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/