summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/find-func.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-06-09 17:56:29 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-06-09 17:57:29 -0700
commit3e3e23fb88fdc19e859c0aa2ab51b86afd323c71 (patch)
treeb579820537e9996b2c7f35bac95eff2f1700c178 /lisp/emacs-lisp/find-func.el
parentd12924cacb86c53a0547f73af35169db8e44d628 (diff)
downloademacs-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