On Sat, 2005-08-06 at 02:40 +0200, Roman Zippel wrote: > I actually looked at the current kcalloc users and besides a few unchecked > module parameters, the arguments were either constant or had to be checked > anyway. I didn't find a single example which required the "safety" of > kcalloc().
Every caller of kcalloc() should do proper bounds checking. It's just that when they forget to do it, we hopefully avoid a buffer overflow which can be exploited. Pekka - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/