gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] unchecked malloc()


From: Lalatendu Mohanty
Subject: Re: [Gluster-devel] unchecked malloc()
Date: Mon, 27 Jan 2014 13:10:16 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/26/2014 09:26 PM, Emmanuel Dreyfus wrote:
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


Just did a quick check on latest Coverity scan results and like you mentioned Coverity did not report these issues and the issue is present in the code. May be I should send a mail about it to "address@hidden"

-Lala

reply via email to

[Prev in Thread] Current Thread [Next in Thread]