Re: qconf handling NULL pointers

From: Roman Zippel
Date: Sat Jan 06 2007 - 21:23:52 EST


Hi,

On Saturday 06 January 2007 12:44, Cyrill V. Gorcunov wrote:

> I found qconf have a few malloc(), strdup() without any check for NULL
> returned code. May be it should be fixed? Am I wrong?

The code isn't really supposed to deal with it, at most they could be replaced
with a variant that prints an error message and exits.

bye, Roman
-
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/