]> git.eshelyaron.com Git - emacs.git/commit
Fix buffer overflow in make-docfile
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Apr 2017 06:35:27 +0000 (23:35 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Apr 2017 06:35:46 +0000 (23:35 -0700)
commita3f3fea14abbc59a2b47cae5bec6252ec3a1f8cf
tree9539ab24679a257a5282d626350a1af01b9e2aa5
parent7cc329fd734992369efd17f6758a732bc5377908
Fix buffer overflow in make-docfile

* lib-src/make-docfile.c (scan_c_stream): Check for buffer
overflow when reading an identifier.  Use a static buffer for NAME
rather than a small dynamically-allocated buffer.
lib-src/make-docfile.c