Home GnuPG
Diffusion GnuPG ebd434a45eef

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.

(cherry picked from commit 654e353d9b20f10fa275e7ae10cc50480654f079)

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Dec 1 2018, 12:43 PM
wernerCommitted on Dec 5 2018, 8:25 AM
Parents
rG21fdef696353: common: Use platform memory zeroing function for wipememory
Branches
Unknown
Tags
Unknown