Page MenuHome GnuPG

gcry_mpi_powm double free
Closed, ResolvedPublic

Description

gcry_mpi_powm(res,base,exp,mod) does not correctly handle the situation when any
of (base,exp,mod) refers to the same underlying MPI structure as res. This sets
it apart from all the other MPI calculation functions. The attached file
demonstrates the bug.

Details

Version
1.4.1

Event Timeline

Another fix was needed, please use revision 1365.

werner claimed this task.
werner removed a project: Restricted Project.