diff options
author | Philipp Stephani <phst@google.com> | 2018-04-15 23:45:27 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-04-15 23:50:06 -0700 |
commit | 9f2d21ca536ea7ca1da98e7bd57ae535ab394997 (patch) | |
tree | cc40bd68be4070f926852a8129f3d84ccb6bd86c /lisp/emacs-lisp/subr-x.el | |
parent | 836dce63c3274eaa84a26c09a5b6dcb1522dba98 (diff) | |
download | emacs-9f2d21ca536ea7ca1da98e7bd57ae535ab394997.tar.gz emacs-9f2d21ca536ea7ca1da98e7bd57ae535ab394997.tar.bz2 emacs-9f2d21ca536ea7ca1da98e7bd57ae535ab394997.zip |
Avoid undefined behavior in 'defvar' (Bug#31072)
* src/eval.c (Fdefvar): Check that first argument is a symbol.
* test/src/eval-tests.el (defvar/bug31072): New unit test.
Diffstat (limited to 'lisp/emacs-lisp/subr-x.el')
0 files changed, 0 insertions, 0 deletions