I suggest this patch. It has a lot in common with this patch https://dev.gnupg.org/T5393, but it is for gnupg-1.4.23.
Please, let me know if this format is acceptable or I should do something differently.
I suggest this patch. It has a lot in common with this patch https://dev.gnupg.org/T5393, but it is for gnupg-1.4.23.
Thanks for the report. However, for 1.4 we will only apply important real world security patches. A brief review did not reveal any setious problems. Theoretical memory leaks will not be fixed. Note that your report also includes patches to parts of the code which are not anymore used.