linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* qconf handling NULL pointers
@ 2007-01-06 11:44 Cyrill V. Gorcunov
  2007-01-07  2:23 ` Roman Zippel
  0 siblings, 1 reply; 2+ messages in thread
From: Cyrill V. Gorcunov @ 2007-01-06 11:44 UTC (permalink / raw)
  To: zippel; +Cc: kernel list

Hi, Roman

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

-- 
	- Cyrill

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: qconf handling NULL pointers
  2007-01-06 11:44 qconf handling NULL pointers Cyrill V. Gorcunov
@ 2007-01-07  2:23 ` Roman Zippel
  0 siblings, 0 replies; 2+ messages in thread
From: Roman Zippel @ 2007-01-07  2:23 UTC (permalink / raw)
  To: gclion; +Cc: kernel list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-07  2:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-06 11:44 qconf handling NULL pointers Cyrill V. Gorcunov
2007-01-07  2:23 ` Roman Zippel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).