zero size memset

Pedro Giffuni pfg at FreeBSD.org
Thu Jan 22 22:34:49 UTC 2015


On 22/01/2015 05:04 p.m., Alan Somers wrote:
> On Thu, Jan 22, 2015 at 2:56 PM, Pedro Giffuni <pfg at freebsd.org> wrote:
>> Hi Dirk;
>>
>> AFAICT, gdb is unmaintained and will be replaced by LLDB.
>>
>> About realloc, those are rather difficult to catch. Perhaps
>> the clang static analyzer can give you some hints on
>> what to look at:
>>
>> http://scan.freebsd.org/
>>
>> And FWIW, we also have reallocf().
>>
>> Regards,
>>
>> Pedro.
>>
> Both of these errors sound like things that Coverity ought to be able
> to detect.  Have you looked in the Coverity reports yet?

CID 604160, 604163, 604161, 604162 correspond to the issues Dirk grepped.

Pedro.




More information about the freebsd-hackers mailing list