Home GnuPG

mpi: Abort on division by zero also in _gcry_mpi_tdiv_qr.

Description

mpi: Abort on division by zero also in _gcry_mpi_tdiv_qr.

* mpi/mpi-div.c (_gcry_mpi_tdiv_qr): Error out on division by zero.

(cherry picked from commit afbab896fa04d9481dbb9f4d01f607b12e31dcbf)

  • GnuPG-bug-id: T4868
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 9 2020, 10:36 AM
Parents
rCda8623bd6dbf: doc: Fix description of hash algorithms
Branches
Unknown
Tags
Unknown
Tasks
T4868: Heap buffer overflow in _gcry_mpi_tdiv_qr()