This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: Clang static analyzer results
- From: Peter Rosin <peda at lysator dot liu dot se>
- To: cygwin-developers at cygwin dot com
- Date: Thu, 30 Aug 2012 08:50:03 +0200
- Subject: Re: Clang static analyzer results
- References: <1327661801.6868.46.camel@YAAKOV04> <20120702200433.GA9487@ednor.casa.cgf.cx> <1341352075.5384.8.camel@YAAKOV04> <20120703221235.GB19989@ednor.casa.cgf.cx> <1341362213.5108.3.camel@YAAKOV04> <20120704012314.GA21163@ednor.casa.cgf.cx> <503EBDF6.6080304@gmail.com> <503ED965.5080607@gmail.com>
On 2012-08-30 05:09, jojelino wrote:
> On 2012-08-30 AM 10:12, jojelino wrote:
>> And here is another clang-analyzer result.
>> http://jojelino.net78.net/2012-08-30/
That URL is no longer working.
>> during this work, clang complained about gcc extension
>> http://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/Conditionals.html seen too
>> often throughout cygwin source code. although i fixed the roadblock
>> before obtaining above result.
> Produced report for cygserver cygwin lsaauth newlib utils. available in http://jojelino.net78.net/
I had a random look at a couple of them for cygwin proper, but
stopped when I reached the "Memory Error Double free" in
nlsfuncs.cc:828. That's just a crazy report, it claims that
memory is released by a failing realloc call and that you don't
need to free the memory at the pointer you failed to realloc.
Someone should report that as a bug in clang.
Cheers,
Peter