Home GnuPG

secmem: When clearing memory, don't clear beyond the end of the buffer.
554250b56ae0Unpublished

Unpublished Commit ยท Learn More

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

Description

secmem: When clearing memory, don't clear beyond the end of the buffer.

* secmem/secmem.c (secmem_malloc): Only clear the user memory; don't
clear beyond the end of the buffer.

Details

Provenance
nealAuthored on Jun 5 2015, 5:29 AM
Parents
rPc29c5657fd77: Make pinentry_setbufferlen always return the pin buffer.
Branches
Unknown
Tags
Unknown