]> git.saurik.com Git - bison.git/commitdiff
Avoid undefined behavior that accessed just before the start of an array.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Jan 2006 23:48:29 +0000 (23:48 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Jan 2006 23:48:29 +0000 (23:48 +0000)
* src/reader.c (packgram): Prepend a new sentinel before ritem.
* src/lalr.c (build_relations): Rely on new sentinel.
* src/gram.c (gram_free): Adjust to new sentinel.


No differences found