summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2020-06-29 12:32:56 +0200
committerPhilipp Stephani <phst@google.com>2020-06-29 12:32:56 +0200
commit59e768d64ad97782249fda9e53b6adc94c6d0130 (patch)
tree3221ba10b639751b10a067c1fab8017830ab46f2 /lisp
parentcce00bef0313bc42beee8096d9312313889dc92d (diff)
downloademacs-59e768d64ad97782249fda9e53b6adc94c6d0130.tar.gz
Fix undefined behavior in json.c (Bug#42113)
* src/json.c (lisp_to_json_toplevel_1, Fjson_parse_string): Check whether input strings are actually strings. * test/src/json-tests.el (json-parse-string/wrong-type) (json-serialize/wrong-hash-key-type): New regression tests.
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions