Re: found an overlapping data buffer in file natGCInfo.cc

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On 07/28/2009 04:17 PM, Martin Ettl wrote:
> -------- Original-Nachricht --------
>> Datum: Tue, 28 Jul 2009 10:07:56 +0200
>> Von: Andrew Haley <[email protected]>
>> An: Martin Ettl <[email protected]>
>> CC: [email protected], [email protected]
>> Betreff: Re: found an overlapping data buffer in file natGCInfo.cc
> 
>> On 07/27/2009 09:09 PM, Martin Ettl wrote:
>>> Hello friends,
>>>
>>> there are more bugs, not specially in the natGCInfo.cc but in e.g:
>> libjava. I have no time to report all of them. I used cppcheck (an open source
>> static code analysis tool) to find the bugs.
>>> Here the output of the libjava scan with cppcheck:
>>>
>>>
>>> Feel free to download and use cppcheck yourself.

>> Are any of these actual bugs?  I haven't checked every one, but those I
>> have are style nag messages.

> 
> I know, cppcheck brings a lots of stylistic warnings. These can be surpressed by not using the --style option. Then only memleaks, resource leaks and so on are shown.
> The intention of my last message was to show you the possibilities of cppcheck, nothing more. I was not my intention to offend you, or your work. Gcc is a great tool, i am using it every day on serveral projects.... keep on guys!

Sure, I'm not complaining.  You have already found one nasty bug, for which I thank you.

cppcheck looks pretty useful.

Andrew.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.