aboutsummaryrefslogtreecommitdiffstats
path: root/src/data-mem.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-07-19 07:46:57 +0000
committerWerner Koch <[email protected]>2018-07-19 07:53:37 +0000
commitaf2c74d6c06a9fb08f7de15d41162d09f871a62e (patch)
tree494c2cc90c4a2a23c156ca868bb14e1752fda94b /src/data-mem.c
parentcore: New interface gpgme_data_new_from_estream. (diff)
downloadgpgme-af2c74d6c06a9fb08f7de15d41162d09f871a62e.tar.gz
gpgme-af2c74d6c06a9fb08f7de15d41162d09f871a62e.zip
json: Don't use strdup but the xtrystrdup wrapper.
* src/gpgme-json.c (create_keylist_patterns): Use CNT as first arg for xcalloc. (process_request): s/strdup/xtrystrdup/. -- calloc takes two arguments so to be able to detect integer overflow. Thus if we switch from malloc to calloc we should utilize that. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/data-mem.c')
0 files changed, 0 insertions, 0 deletions