[Bug libelf/29000] Conditional jump or move depends on uninitialised value in elf_compress_gnu

2022-03-29 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29000 Mark Wielaard changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[PATCH] libelf: Also copy/convert partial datastructures in xlate functions

2022-03-29 Thread Mark Wielaard
The generated xlate functions can only convert full datastructures, dropping any trailing partial data on the floor. That means some of the data might be undefined. Just copy over the trailing bytes as is. That data isn't really usable. But at least it is defined data. https://sourceware.org/bugzi

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

2022-03-29 Thread Dirk Müller
Hi Mark, Am Di., 29. März 2022 um 09:42 Uhr schrieb Mark Wielaard : > I assume this is because debuginfod-client loads and initializes > libcurl, which triggers crypto checks for https support? Yes, the dependencies of the DSO contain libcurl and other libraries including the openssl library, wh

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

2022-03-29 Thread Frank Ch. Eigler via Elfutils-devel
Hi - > > Avoid dlopen() when no debuginfo url is set. > > The patch itself looks right. But I am slightly afraid this > (theoretically?) will break some programs which set DEBUGINFOD_URLS > themselves. We currently have no other way to make libdwfl use > debuginfod-client. Thoughts? I've been th

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

2022-03-29 Thread Mark Wielaard
Hi Dirk, On Mon, Mar 28, 2022 at 11:36:41PM +0200, Dirk Müller wrote: > Loading debuginfod-client is expensive, especially when > FIPS is enabled, as it goes through time intensive self-checks > on load. I assume this is because debuginfod-client loads and initializes libcurl, which triggers cryp