Double-Free in new Unpadding Code

Tom Ritter tom at
Thu May 26 19:44:08 CEST 2011

On 26 May 2011 13:29, Tom Ritter <tom at> wrote:
> It seems to apply
> with or without an error in padding, and for both PKCS1 and OAEP,

Nevermind, it makes sense that it only occurs for invalid padding, as
otherwise plain is set to a valid pointer to be freed later.


More information about the Gcrypt-devel mailing list