summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/byte-run-tests.el
diff options
context:
space:
mode:
authorPip Cet <pipcet@protonmail.com>2025-03-28 02:33:19 +0000
committerPip Cet <pipcet@protonmail.com>2025-03-30 11:52:07 +0000
commit67e34f0ed8f6d3bbc78187a18f71010c70e10426 (patch)
treec7595be84f8044a7704f44158b7131fc89a05ab0 /test/lisp/emacs-lisp/byte-run-tests.el
parent209b7e7444df5cb164679c0e55f46cba424ad13c (diff)
downloademacs-67e34f0ed8f6d3bbc78187a18f71010c70e10426.tar.gz
emacs-67e34f0ed8f6d3bbc78187a18f71010c70e10426.tar.bz2
emacs-67e34f0ed8f6d3bbc78187a18f71010c70e10426.zip
Respect narrowed buffers when parsing JSON (bug#77325)
* src/json.c (Fjson_insert): Simplify 'memcpy' argument. (Fjson_parse_buffer): Only read to ZV, not all the way to Z. * test/src/json-tests.el (with-all-gap-positions-in-temp-buffer): New macro. (json-parse-buffer/restricted): New test.
Diffstat (limited to 'test/lisp/emacs-lisp/byte-run-tests.el')
0 files changed, 0 insertions, 0 deletions