Crashes with gpg-agent 2.1.18
Justus Winter
justus at g10code.com
Wed Jan 25 13:58:18 CET 2017
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.
Justus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: </pipermail/attachments/20170125/bd70f2bf/attachment.sig>
More information about the Gnupg-devel
mailing list