Wireshark mailing list archives
Re: Latest libnghttp2 checkin broken
From: Alexis La Goutte <alexis.lagoutte () gmail com>
Date: Fri, 1 May 2015 15:23:37 +0200
On Fri, May 1, 2015 at 2:17 PM, Joerg Mayer <jmayer () loplof de> wrote:
On Fri, May 01, 2015 at 10:42:01AM +0200, Alexis La Goutte wrote:On Fri, May 1, 2015 at 1:46 AM, Joerg Mayer <jmayer () loplof de> wrote:The latest checkin to libnghttp2 should not have happend: a) it breaks compilation on my system /home/jmayer/work/wireshark/git/epan/nghttp2/nghttp2_hd.c: Infunction‘hd_inflate_remove_bufs_with_name’: /home/jmayer/work/wireshark/git/epan/nghttp2/nghttp2_hd.c:1736:10:error:variable ‘rv’ set but not used [-Werror=unused-but-set-variable] size_t rv; ^What compile and release do you using ?I have found and fixed the problem: I did a non-debug build (see commit f708c5cb56135515b6b777f144e90d488870c470) So we would probably need at least one buildbot to build with NDEBUG set to catch this.
What is a "NDEGUG" build ? Because, i will push the patch to the upstream
b) it can only have been committed with --no-verify as it contains deprecated functions (checkAPI.pl). I hit this during conflict resolution (git commit). pre-commit tools is no perfect... it is for help when commit code andthere is some false postive...Please verify on your system and let me know the results. Here's the result on mine: jmayer@egg nghttp2(master)$ ../../tools/checkAPIs.pl * Error: Found prohibited APIs in nghttp2_helper.c: ntohl,ntohs,htonl,htons Error: Found prohibited APIs in nghttp2_mem.c: malloc,calloc,realloc,free Error: Found prohibited APIs in nghttp2_net.h: ntohl,ntohs,htonl,htons
For me checkAPIs is only for dissectors file You have the same type of warning on wiretap folder : wireshark/wiretap$ ../tools/checkAPIs.pl * Error: Found prohibited APIs in ascend.c: malloc,free Error: Found prohibited APIs in ascend_scanner.c: malloc,realloc,free Error: Found prohibited APIs in k12text.c: malloc,realloc,free
Ciao Jörg -- Joerg Mayer <jmayer () loplof de> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org ?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Latest libnghttp2 checkin broken Alexis La Goutte (May 01)
- Re: Latest libnghttp2 checkin broken Joerg Mayer (May 01)
- Re: Latest libnghttp2 checkin broken Alexis La Goutte (May 01)
- Re: Latest libnghttp2 checkin broken Joerg Mayer (May 01)
- Re: Latest libnghttp2 checkin broken Jeff Morriss (May 01)
- Re: Latest libnghttp2 checkin broken Alexis La Goutte (May 02)
- RfD: How to handle libnghttp2 [Was: libnghttp2 checkin broken] Joerg Mayer (May 02)
- Re: RfD: How to handle libnghttp2 [Was: libnghttp2 checkin broken] Alexis La Goutte (May 03)
- Re: RfD: How to handle libnghttp2 [Was: libnghttp2 checkin broken] Joerg Mayer (May 03)
- Re: RfD: How to handle libnghttp2 [Was: libnghttp2 checkin broken] Alexis La Goutte (May 03)
- Re: Latest libnghttp2 checkin broken Alexis La Goutte (May 01)
- Re: Latest libnghttp2 checkin broken Joerg Mayer (May 01)