aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context_vanilla.cpp
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-07-18 11:02:32 +0000
committerAndre Heinecke <[email protected]>2018-07-18 11:05:48 +0000
commit82e4b900a96c837392259469a9a5821a95e7a707 (patch)
tree534d1de3fa528f286b427c87fa9e0dd08c0c1c24 /lang/cpp/src/context_vanilla.cpp
parentjson: Fix memory errors in create_keylist_patterns (diff)
downloadgpgme-82e4b900a96c837392259469a9a5821a95e7a707.tar.gz
gpgme-82e4b900a96c837392259469a9a5821a95e7a707.zip
json: Fix crash by ensuring response is never NULL
* src/gpgme-json.c (encode_and_chunk): Try to always return at least an error. (process_request): Double check that it does not return NULL. -- If process_request returns NULL the following strlen on it would crash.
Diffstat (limited to 'lang/cpp/src/context_vanilla.cpp')
0 files changed, 0 insertions, 0 deletions