[PATCH 0/3] Headers fix plus other minor fixes
Thomas Haller
thaller at redhat.com
Wed Jun 25 01:31:13 PDT 2014
On Wed, 2014-06-25 at 10:22 +0200, Peter Wu wrote:
> On Wednesday 25 June 2014 10:08:42 Thomas Haller wrote:
> > On Tue, 2014-06-24 at 23:13 +0200, Peter Wu wrote:
> > > Hi,
> > >
> > > While building Wireshark with clang, I noticed a defect in the attr.h header
> > > which breaks a -Werror build. While fixing that, I noticed two other minor
> > > defects which were caught by Clang static analyzer.
> > >
> > > Please have a look at them.
> >
> >
> > Hello Peter,
> >
> >
> > these 3 fixes seem very reasonable to me.
> >
> > I merged them as
> > https://github.com/thom311/libnl/commit/baaf82d6d6e023d422809b16865bda2e39c589b5
>
> Thanks! Nitpick: I used scan-build (from Clang), not Coverity. End result is
> probably the same, but I can really recommend to use this free tool to find
> bugs. You can read more about it on http://clang-analyzer.llvm.org/
>
> There were more reports, four from use-after-free (false positive, there is
> a debug print for a pointer that was just freed), some dead assignments
> and other details that may need some annotation.
Oh, I wasn't aware of that. Thanks for pointing this out. Actually, I
thought they are one and the same :$
I take a look.
> Could you also update the git and HTTP URLs on
> http://www.infradead.org/~tgr/libnl/? You seem to have changed the username.
> The infradead git repo seems also to be out of sync (that's where I based
> my patches on).
Oh right. I (Thomas Haller) happen to help out Thomas (Graf) maintaining
libnl. So the previous location of the repository did not get much love
recently. I think, we should keep the "old" locations not to break
documentation and older links. But they really should be both equally up
to date.
> Kind regards,
> Peter
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20140625/6d3a92b3/attachment.sig>
More information about the libnl
mailing list