Home GnuPG
Diffusion GnuPG b3610badf691

common: Avoid excessive stack use.
b3610badf691Unpublished

Unpublished Commit ยท Learn More

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

Description

common: Avoid excessive stack use.

* common/exectool.c (copy_buffer_shred): Make passing NULL a nop.
(gnupg_exec_tool_stream): Allocate copy buffers from the heap.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Jul 26 2016, 2:49 PM
Parents
rG35132a8b119d: common: Rework resource cleanup when handling errors.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGb3610badf691: common: Avoid excessive stack use. (authored by Justus Winter <justus@g10code.com>).Jul 26 2016, 2:49 PM