Diffusion GnuPG ebd434a45eef

common/iobuf: fix memory wiping in iobuf_copy

Authored by jukivili on Sat, Dec 1, 12:43 PM.

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

Committed
wernerWed, Dec 5, 8:25 AM
Parents
rG21fdef696353: common: Use platform memory zeroing function for wipememory
Branches
Unknown
Tags
Unknown