Home GnuPG
Diffusion GnuPG 654e353d9b20

common/iobuf: fix memory wiping in iobuf_copy

Description

common/iobuf: fix memory wiping in iobuf_copy

* common/iobuf.c (iobuf_copy): Wipe used area of buffer instead of
first sizeof(char*) bytes.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Dec 1 2018, 12:43 PM
Parents
rG2a650772b4e1: common/mischelp: use platform memory zeroing function for wipememory
Branches
Unknown
Tags
Unknown