Crashes with gpg-agent 2.1.18
Patrick Brunschwig
patrick at enigmail.net
Wed Jan 25 16:01:11 CET 2017
On 25.01.17 13:58, Justus Winter wrote:
> Justus Winter <justus at g10code.com> writes:
>
>> [ Unknown signature status ]
>> Patrick Brunschwig <patrick at enigmail.net> writes:
>>
>>> On 24.01.17 09:14, Patrick Brunschwig wrote:
>>>> On 23.01.17 21:20, Daniel Kahn Gillmor wrote:
>>>
>>>> gpg-agent(58725,0x70000f710000) malloc: *** error for object
>>>> 0x7f99f9703250: pointer being freed was not allocated
>>>> *** set a breakpoint in malloc_error_break to debug
>>>
>>>
>>> Here is how I can reproduce the issue on Mac OS X
>>> 1. create a small encrypted file (e.g. x.asc)
>>>
>>> 2. Make sure gpg-agent currently caches your password
>>>
>>> 3. run the following loop:
>>> for i in $(seq 1 20); do (gpg2 -d x.asc &) ; done
>>>
>>> This will crash gpg-agent almost certainly.
>>
>> Ugh. I can reproduce this on Linux as well. I'll look into that.
>
> It was a double free. Fixed in
> e175152ef7515921635bf1e00383e812668d13fc.
Yes, this fixes the crash.
Thanks,
Patrick
More information about the Gnupg-devel
mailing list