Skip to contentSkip to conversation

qconf handling NULL pointers

DISCUSSION Cyrill V. Gorcunov 2 participants 2 messages Jan 6, 2007 – Jan 7, 2007

lore
Share & tools
lore
#0 lore raw

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?

Signature · 1 line
	- Cyrill
#1 lore raw

Hi,

Quoted 2 lines · Cyrill V. Gorcunov

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