[PATCH] add debuginfod_get_headers if DUMMY_LIBDEBUGINFOD is used

2022-09-08 Thread Martin Liška
Pushed as obvious as I can't build elfutils: [ 70s] gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -O2 -Wall -U_FORTIFY

Re: [patch git] PR28284 - debuginfod x-debuginfod* header processing

2022-09-08 Thread Mark Wielaard
Hi Frank, On Tue, 2022-09-06 at 12:05 -0400, Frank Ch. Eigler via Elfutils-devel wrote: > > This looks good, but I think c->winning_headers needs to be > > freed/cleared at the start of debuginfod_query_server. Otherwise if you > > reuse the debuginfod_client and you hit the cache, the user gets t

Re: [patch git] PR28284 - debuginfod x-debuginfod* header processing

2022-09-08 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > > Good point, we don't want an aborted new transfer to retain records > > from a previous run, will fix that. > > Not just a new transfer, but also when we hit the cache before doing a > new transfer. Currently when we hit the cache and don't do any transfer > the winning_headers will poin

-Werror=array-bounds

2022-09-08 Thread exactlywb--- via Elfutils-devel
Hi! I've noticed that in 81st line of image-header.c file is suspicious: header = header_buffer - H_START; As it's written in ISO/IEC 9899:1999: - Addition or subtraction of a pointer into, or just beyond, an array object and an integer type produces a result that does not point into, or just be

Sourceware accepted as SFC member project

2022-09-08 Thread Mark Wielaard
Hi, We are very grateful for the public replies and suggestions received to our proposal, which were all very positive. And we are happy to report that the SFC's Evaluations Committee has voted to accept Sourceware as a Conservancy member project. If people are interested in, or want to help out w