diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-09 17:56:29 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-06-09 17:57:29 -0700 |
commit | 3e3e23fb88fdc19e859c0aa2ab51b86afd323c71 (patch) | |
tree | b579820537e9996b2c7f35bac95eff2f1700c178 /lisp/emacs-lisp/find-func.el | |
parent | d12924cacb86c53a0547f73af35169db8e44d628 (diff) | |
download | emacs-3e3e23fb88fdc19e859c0aa2ab51b86afd323c71.tar.gz emacs-3e3e23fb88fdc19e859c0aa2ab51b86afd323c71.tar.bz2 emacs-3e3e23fb88fdc19e859c0aa2ab51b86afd323c71.zip |
Fix pointer misuse in JSON parser
* src/json.c (lisp_to_json_toplevel_1): Fix pointer misuse not
caught by C type checking (json_t ** converted to void * where
the program expected json_t *). Bug caught on Fedora 28 x86-64 via
'./configure CFLAGS="-g3 -O2 -fsanitize=address" CANNOT_DUMP=yes'.
Avoid similar problems in the future by rewriting to use
json_t * instead of json_t **.
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
0 files changed, 0 insertions, 0 deletions