Apologies for jumping the gun on you. As a general thing, a quick email
in reply to an rc1 announcement is enough to hold things until an issue
has been addressed.
I checked those warnings, and they're all false positives. The static
analysis is clever, but not clever enough.
This release of dnsmasq has gone through a coverity scan, which is the
ultimate static analysis, AFAIK. Even that generates lots of false
positives, and rather then warp the code to make the analysis work, I
adopted a policy of marking warnings as "not an issue".
Coverity builds under Linux, so the BSD-only code in the tree is not
checked that way, unfortunately.
Thanks for committing 2.76.
Cheers,
Simon.
Post by Matthias AndreePost by Simon KelleyI've just released dnsmasq 2.76.
Download from http://thekelleys.org.uk/dnsmasq/dnsmasq-2.76.tar.gz
It's more than nine months since the last release, so get the new code
quick, there's lots to go at.
Hi Simon,
that was fast after the long test phase and the hint there might be a
few more rcs, so I didn't prioritize these properly during the -rc
phase, but had been sitting on them for a few days. Sorry about that.
FreeBSD compilation of the rcs, and 2.76 proper, yields these warnings
on 9.3 (using some older GCC)
Post by Simon Kelleyedns0.c:307: warning: 'addrp' may be used uninitialized in this function
dnssec.c:1670: warning: 'hash' may be used uninitialized in this function
dnssec.c:1670: note: 'hash' was declared here
rfc2131.c:829:25: warning: data argument not used by format string [-Wformat-extra-args]
service->basename, layer);
^
I will mail the full build logs off-liste.
Let me know if you need more details for debugging. I am compiling
without DBUS and Lua, but with IPv6, NLS (full internationalization) and
DNSSEC, and this is a sample compiler command line makes from its
Post by Simon Kelleycc -O2 -pipe -march=athlon64 -Wall -Wno-unused-value -Wno-unused-parameter -DHAVE_DNSSEC -fstack-protector -fno-strict-aliasing -O2 -pipe -march=athlon64 -Wall -Wno-unused-value -Wno-unused-parameter -DHAVE_DNSSEC -fstack-protector -fno-strict-aliasing -DLOCALEDIR='"/usr/local/share/locale"' -DVERSION='"2.76"' -I/usr/local/include -I/usr/local/include -I/usr/local/include -c dhcp-common.c
I have committed v2.76 to the FreeBSD ports trunk.
Best regards,
Matthias
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss