malloc without check in 2.2

Jeremy Allison jra at samba.org
Tue Jan 15 11:02:24 GMT 2002


On Tue, Jan 15, 2002 at 03:26:44PM +0100, andreas moroder wrote:
> In samba 2.2 cvs from 15.01.2002 I found the following malloc calls without a 
> check of the result
> 
> 
> utils/status.c at line 537
> 
> in libsmb/libsmbclient.c at line 564 ???
> 
> nsswitch/winbindd_group.c 978
> 
> rpcclient/rpcclient.c 441
> 
> there are also malloc's witout a check in different test and torture source, 
> but I don't know if it is worth the effort to clean them up.

Nailed them - thanks ! Keep these fixes coming ! It's not
worth the effort right now in the test & torture code, although
in the long run I'd like to see them all cleanly fixed.

Thanks a lot !

Jeremy.




More information about the samba-technical mailing list