diff options
author | Werner Koch <[email protected]> | 2015-03-16 12:38:10 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-03-16 12:38:10 +0000 |
commit | 119f27032b822ace8c012b96f9e41bcf23251a54 (patch) | |
tree | e217d5685574c6307bcc9163a34c218fa2c80927 /src/export.c | |
parent | Switch to automake 1.14 and update build-aux files. (diff) | |
download | gpgme-119f27032b822ace8c012b96f9e41bcf23251a54.tar.gz gpgme-119f27032b822ace8c012b96f9e41bcf23251a54.zip |
Fix one byte too short malloc.
* src/engine-spawn.c (add_data): Fix malloc
--
Bummer. Why did I subtracted one from the size? Did I assume a
dynamically allocated structure with a string field which was not
going to be used? Very strange.
Not a real problem though because malloc will anyway round up the
allocation to at least the next word size.
Detected by Stack 0.3.
Diffstat (limited to 'src/export.c')
0 files changed, 0 insertions, 0 deletions