Re: [obv] [patch] debuginfod-client memory hygiene

2025-02-23 Thread Mark Wielaard
Hi Frank, On Thu, Feb 20, 2025 at 02:18:04PM -0500, Frank Ch. Eigler wrote: > > [...] > > This does sounds like a bug in glibc sscanf. I cannot find a > > description of what exactly happens with 'm' modifier allocated > > buffers on error. So I can imagine a double free if sscanf frees the > > bu

Re: [obv] [patch] debuginfod-client memory hygiene

2025-02-20 Thread Frank Ch. Eigler
Hi - > [...] > This does sounds like a bug in glibc sscanf. I cannot find a > description of what exactly happens with 'm' modifier allocated > buffers on error. So I can imagine a double free if sscanf frees the > buffer on error. But returning a bogus pointer? That seems a bug. If > we aren't gu

Re: [obv] [patch] debuginfod-client memory hygiene

2025-02-19 Thread Mark Wielaard
Hi Frank, On Tue, Feb 18, 2025 at 10:30:44PM -0500, Frank Ch. Eigler wrote: > Planning to commit this shortly: > > commit a71bac67f4705b84368b71f5ece54deedaa1abf1 (HEAD -> master1) > Author: Frank Ch. Eigler > Date: Tue Feb 18 22:09:12 2025 -0500 > > debuginfod-client: correct invalid fre

[obv] [patch] debuginfod-client memory hygiene

2025-02-18 Thread Frank Ch. Eigler
Planning to commit this shortly: commit a71bac67f4705b84368b71f5ece54deedaa1abf1 (HEAD -> master1) Author: Frank Ch. Eigler Date: Tue Feb 18 22:09:12 2025 -0500 debuginfod-client: correct invalid free() in failed ima path debuginfod-find with a failed signature configuration was f