]> granicus.if.org Git - re2c/commit
Fixed some more out of bounds reads in lexer due to not handling EOF properly.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 30 Oct 2018 22:11:32 +0000 (22:11 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 30 Oct 2018 22:11:32 +0000 (22:11 +0000)
commitf062a8bb824148d657d98819135f1babfdb4d383
tree6cd9e38f4cb917e5294f77688656b2315ee66783
parentd6f9f21e441f402be6fac0071798d505c82829b6
Fixed some more out of bounds reads in lexer due to not handling EOF properly.

Found by american fuzzy lop (thanks to Henri Salo).
re2c/bootstrap/src/ast/lex.cc
re2c/src/ast/lex.re
re2c/src/ast/scanner.h
re2c/test/american_fuzzy_lop/001.c [new file with mode: 0644]
re2c/test/american_fuzzy_lop/001.re [moved from re2c/test/american_fuzzy_lop/01.re with 100% similarity]
re2c/test/american_fuzzy_lop/002.c [new file with mode: 0644]
re2c/test/american_fuzzy_lop/002.re [new file with mode: 0644]
re2c/test/american_fuzzy_lop/003.c [new file with mode: 0644]
re2c/test/american_fuzzy_lop/003.re [new file with mode: 0644]
re2c/test/american_fuzzy_lop/01.c [deleted file]
re2c/test/bug1529351.c