From: Paul Eggert Date: Wed, 18 Jan 2006 23:48:29 +0000 (+0000) Subject: Avoid undefined behavior that accessed just before the start of an array. X-Git-Tag: v2.3b~496 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/e9ad4aeca53f9e96dd72821c96d25e3ee2a3a2e8?hp=e9ad4aeca53f9e96dd72821c96d25e3ee2a3a2e8 Avoid undefined behavior that accessed just before the start of an array. * 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. ---