diff options
author | Andre Heinecke <[email protected]> | 2018-07-18 11:02:32 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2018-07-18 11:05:48 +0000 |
commit | 82e4b900a96c837392259469a9a5821a95e7a707 (patch) | |
tree | 534d1de3fa528f286b427c87fa9e0dd08c0c1c24 /lang/python/docs/GPGMEpythonHOWTOen.org | |
parent | json: Fix memory errors in create_keylist_patterns (diff) | |
download | gpgme-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/python/docs/GPGMEpythonHOWTOen.org')
0 files changed, 0 insertions, 0 deletions