Re: qconf handling NULL pointers

Previous thread: [PATCH] Add suport for Marvell 88SE6121 in pata_marvell by Jose Alberto Reguero on Saturday, January 6, 2007 - 5:24 am. (3 messages)

Next thread: [PATCH 2.6.20-rc3] JSM_TTY: kmalloc->kzalloc/Casting cleanups by Ahmed S. Darwish on Saturday, January 6, 2007 - 6:16 am. (1 message)
From: Cyrill V. Gorcunov
Date: Saturday, January 6, 2007 - 4:44 am

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
-

From: Roman Zippel
Date: Saturday, January 6, 2007 - 7:23 pm

Hi,


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
-

Previous thread: [PATCH] Add suport for Marvell 88SE6121 in pata_marvell by Jose Alberto Reguero on Saturday, January 6, 2007 - 5:24 am. (3 messages)

Next thread: [PATCH 2.6.20-rc3] JSM_TTY: kmalloc->kzalloc/Casting cleanups by Ahmed S. Darwish on Saturday, January 6, 2007 - 6:16 am. (1 message)