aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context_vanilla.cpp
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-07-18 10:57:51 +0000
committerAndre Heinecke <[email protected]>2018-07-18 10:57:51 +0000
commitb78140daf7720132711314a4e5ed878b49da99f4 (patch)
tree8d3abbc2175c15d836c4829635359124e31cb790 /lang/cpp/src/context_vanilla.cpp
parentqt: Handle encoding for diagnostics (diff)
downloadgpgme-b78140daf7720132711314a4e5ed878b49da99f4.tar.gz
gpgme-b78140daf7720132711314a4e5ed878b49da99f4.zip
json: Fix memory errors in create_keylist_patterns
* src/gpgme-json.c (create_keylist_patterns): Reserve two pointers more then linefeeds. (create_keylist_patterns): Fix loop to count linebreaks. (create_keylist_patterns): Use calloc for good measure. -- This fixes crashes and memory corruption as cnt did not match i.
Diffstat (limited to 'lang/cpp/src/context_vanilla.cpp')
0 files changed, 0 insertions, 0 deletions