]> git.eshelyaron.com Git - emacs.git/commit
Fix crash (segfault) in etags on generating tags for Erlang files
authorSerge Tupchii <serge.tupchii@protonmail.com>
Tue, 8 Dec 2020 20:22:34 +0000 (21:22 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 8 Dec 2020 20:22:34 +0000 (21:22 +0100)
commit2d8f0364fcd1d5dad2b82dd3a9af870b03854547
treec16890055bafe5d0555f1fda325ae3372c9e66bd
parent1fb099ceb0269e8e74bd0f8dc98eb1da156becbd
Fix crash (segfault) in etags on generating tags for Erlang files

* lib-src/etags.c: Set allocated and lastlen to zero, after
freeing last ptr in Erlang_functions to prevent dereferencing NULL
pointer (bug#45122).
Copyright-paperwork-exempt: yes
lib-src/etags.c