[Gluster-devel] unchecked malloc()
Emmanuel Dreyfus
manu at netbsd.org
Sun Jan 26 15:56:36 UTC 2014
Hi
I just hit an unchecked malloc bug. A quick search found many others. I
fixed a few in the change below, but it seems there are many more.
strdup() are also very often unchecked. Should all the code be converted
to gf_strdup, and an assert() added in gf_strdup()?
And how could Coverity miss that obvious bugs?
http://review.gluster.org/6796
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org
More information about the Gluster-devel
mailing list