Double-Free in new Unpadding Code

Daiki Ueno ueno at
Fri May 27 03:22:38 CEST 2011

Werner Koch <wk at> writes:

> On Thu, 26 May 2011 19:29, tom at said:
>> The following double-free in the new unpadding code was causing
>> crashes on my machine when attempting a decrypt with invalid padding.
> I already found and fixed that in my local review branch.  Thanks
> anyway.

Many thanks to Tom and Werner.  I pushed the fix to the git master with
invalid padding test cases.

Daiki Ueno

More information about the Gcrypt-devel mailing list