]> git.eshelyaron.com Git - emacs.git/commit
Fix failed assertion when load-force-doc-strings
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 May 2018 19:26:22 +0000 (12:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 May 2018 19:42:16 +0000 (12:42 -0700)
commit02f303d75f876517b7802f787413cbb418203315
treea0a0413cb8928dd09c8a125581e3d4dbbd0cae45
parenta51725280ac3f4db3b9a1a552f25fb4204f45a4d
Fix failed assertion when load-force-doc-strings

Problem reported by Philipp Stephani (Bug#31556).
* src/lread.c (read_vector): When load_force_doc_strings, check
for byte code vectors that are invalid because they are too short.
* test/src/lread-tests.el (lread-invalid-bytecodes): New test.
src/lread.c
test/src/lread-tests.el