mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-18 05:33:26 +00:00
ielr: fix crash on memory management
Reported by Dwight Guth. https://lists.gnu.org/r/bug-bison/2020-06/msg00037.html * src/AnnotationList.c (AnnotationList__computePredecessorAnnotations): Beware that SBITSET__FOR_EACH nests _two_ for-loops, so "break" does not actually break out of it. That was the only occurrence in the code. * src/Sbitset.h (SBITSET__FOR_EACH): Warn passersby.
This commit is contained in:
1 parent
8f44164443
commit
cf6d8d0631
4 files changed
+10
-1
No files matched your search
@@ -44,6 +44,10 @@ GNU Bison NEWS
|
||||
string aliases semantically equivalent but syntactically different (e.g.,
|
||||
"A", "\x41", "\101") are considered to be different.
|
||||
|
||||
*** Crash when generating IELR
|
||||
|
||||
An old, well hidden, bug in the generation of IELR parsers was fixed.
|
||||
|
||||
** New features
|
||||
|
||||
*** File prefix mapping
|
||||
|
||||
Reference in new issue
Block a user