Home GnuPG

cipher-ocb: fix out-of-array stack memory access

Description

cipher-ocb: fix out-of-array stack memory access

* cipher/cipher-ocb.c (bit_copy): Do not access memory beyond
's' array when bitoff > 8.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on May 29 2020, 9:40 PM
Parents
rC6a2cd0fe78a9: mpi: More fix of off-by-one mistake mpi_invm_pow2.
Branches
Unknown
Tags
Unknown