Re: Issue 46192 in oss-fuzz: elfutils:fuzz-libdwfl: Out-of-memory in fuzz-libdwfl

2022-03-31 Thread Mark Wielaard
Hi, On Wed, Mar 30, 2022 at 03:24:17PM -0700, ClusterFuzz-External via monorail via Elfutils-devel wrote: > New issue 46192 by ClusterFuzz-External: elfutils:fuzz-libdwfl: Out-of-memory > in fuzz-libdwfl > https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46192 > > Detailed Report: https://

Using libcurl in another library, when/if to call curl_global_init?

2022-03-31 Thread Mark Wielaard
Hi, We we are using libcurl in our own library now to (optionally) fetch resources from http(s) locations. It is an implementation detail we use libcurl for this and don't expose any Curl handles outside our own library. It works great, thanks! But we are struggling a bit with how to safely/corre

Re: [PATCH] Avoid dlopen on debuginfod-client when not configured

2022-03-31 Thread Mark Wielaard
Hi Dirk, On Tue, 2022-03-29 at 13:06 +0200, Dirk Müller wrote: > Am Di., 29. März 2022 um 09:42 Uhr schrieb Mark Wielaard < > m...@klomp.org>: > > The patch itself looks right. But I am slightly afraid this > > (theoretically?) will break some programs which set DEBUGINFOD_URLS > > themselves. We

[Bug tools/28873] Implement eu-readelf -D

2022-03-31 Thread dichen at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28873 --- Comment #1 from Di Chen --- This Bug depends on Bug 28928 because when calling `$ eu-readelf -d --use-dynamic {FILE}` eu-readelf will need the number of dynamic section entris which involves with Bug 28928 -- You are receiving this mail

Re: Using libcurl in another library, when/if to call curl_global_init?

2022-03-31 Thread Mark Wielaard
Hi, On Thu, Mar 31, 2022 at 04:00:16PM +0300, Catalin Raceanu via curl-library wrote: > On 31-Mar-22 15:04, Mark Wielaard wrote: > > whether there is a thread-safe way to call > > curl_global_init at a later time (to get rid of the library constructor > > init function). > > I believe that this

Re: [PATCH] [PATCH] debuginfod: Use the debuginfod-size response header

2022-03-31 Thread Mark Wielaard
Hi Aaron, On Tue, 2022-01-11 at 22:07 -0500, Aaron Merey via Elfutils-devel wrote: > In some cases the content-length header may not be available in order > to pass to a progressfn. If content-length isn't available then attempt > to get the size of the download from the debuginfod-size header in