diff options
author | Andre Heinecke <[email protected]> | 2018-07-16 17:47:11 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2018-07-16 17:47:11 +0000 |
commit | 1686e07e77a1eee3b2708d0231a5a549956021f7 (patch) | |
tree | 1a545510aea6be22b83d5f2d7ed734fc91fcb846 /lang/python/examples/howto/import-keys.py | |
parent | json: Fix uninitialized key unref in op_delete (diff) | |
download | gpgme-1686e07e77a1eee3b2708d0231a5a549956021f7.tar.gz gpgme-1686e07e77a1eee3b2708d0231a5a549956021f7.zip |
json: Fix crash on invalid json
* src/gpgme-json.c (process_request): Init res. Check for
json object before encode and chunk.
--
If json is invalid we can't read chunksize and would crash
in encode and chunk.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions