Date: Thu, 22 Jan 2015 17:28:41 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: Alan Somers <asomers@freebsd.org> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org>, Dirk Engling <erdgeist@erdgeist.org> Subject: Re: zero size memset Message-ID: <54C17999.1050201@FreeBSD.org> In-Reply-To: <CAOtMX2i1aTXtmcp68t8tjXKXKh0wDu2G0JZSb1pBLoXgVHBdVA@mail.gmail.com> References: <54C17215.8060700@FreeBSD.org> <CAOtMX2i1aTXtmcp68t8tjXKXKh0wDu2G0JZSb1pBLoXgVHBdVA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22/01/2015 05:04 p.m., Alan Somers wrote: > On Thu, Jan 22, 2015 at 2:56 PM, Pedro Giffuni <pfg@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54C17999.1050201>