Requesting backport of read_key_file memory leak fix to 2.4
Sorah Fukumori via Gnupg-devel <[email protected]> Sun, 9 Nov 2025 23:24:04 +0900
| Newsgroups | gmane.comp.encryption.gpg.devel |
|---|---|
| Message-ID | <CA+wiQwtHmQmOgZJ8zdMint3tXUHTQ3EZDO=NwvBcMrRixBkqpw@mail.gmail.com> |
Hello, Can the commit 137481fa1002c417cd2c0661b9eefd893b0149d3 have a review for backport to the stable branch (STABLE-BRANCH-2-4)? This bug can be reproduced on 2.4.8, and I'd like to get it fixed on 2.4 before it reaches EOL. # I am unsure of a formalized way to request backports, pardon me if I'm doing it wrong. Thanks, Sorah ---------- Forwarded message --------- From: NIIBE Yutaka <[email protected]> Date: Tue, 14 Jan 2025 at 11:07 Subject: Re: [PATCH gnupg] agent: Fix a memory leak To: Sorah Fukumori <[email protected]>, <[email protected]> Hello, Sorah Fukumori wrote: > * agent/findkey.c (read_key_file): Free the buffer, > which were forgotten to be freed at commit 434a641d40c on T6944. > Otherwise the 'keyinfo --list' agent command gradually leads to > memory exhaustion. Thank you, good catch. I applied it to master, in the commit: 137481fa1002c417cd2c0661b9eefd893b0149d3 -- -- Sorah Fukumori https://sorah.jp/