Home GnuPG

secmem: Clear the buffer before returning it from secmem_malloc.
1d3583a2562eUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

secmem: Clear the buffer before returning it from secmem_malloc.

* secmem/secmem.c (secmem_malloc): In case wipememory2 gets optimized
away in secmem_free, clear the buffer before returning it.

Details

Provenance
nealAuthored on May 16 2015, 9:35 PM
Parents
rP97a47ee99e14: curses: NUL terminate the pin entry buffer.
Branches
Unknown
Tags
Unknown