]> granicus.if.org Git - re2c/commit
Fixed yet another out of bounds read in lexer due to not handling EOF after escape.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 31 Oct 2018 23:15:28 +0000 (23:15 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 31 Oct 2018 23:16:23 +0000 (23:16 +0000)
commit0f7b449e0197e5faea9fd36912fd6e3712f4599c
treea381d5276990987c9248f8bbc14156768f30d4b4
parentf062a8bb824148d657d98819135f1babfdb4d383
Fixed yet another out of bounds read in lexer due to not handling EOF after escape.

Found by american fuzzy lop (thanks to Henri Salo).
14 files changed:
re2c/bootstrap/src/ast/lex.cc
re2c/src/ast/lex.re
re2c/test/american_fuzzy_lop/001.c
re2c/test/american_fuzzy_lop/001.re
re2c/test/american_fuzzy_lop/002.c
re2c/test/american_fuzzy_lop/002.re
re2c/test/american_fuzzy_lop/003.c
re2c/test/american_fuzzy_lop/003.re
re2c/test/american_fuzzy_lop/004.c [new file with mode: 0644]
re2c/test/american_fuzzy_lop/004.re [new file with mode: 0644]
re2c/test/american_fuzzy_lop/005.c [new file with mode: 0644]
re2c/test/american_fuzzy_lop/005.re [new file with mode: 0644]
re2c/test/american_fuzzy_lop/006.c [new file with mode: 0644]
re2c/test/american_fuzzy_lop/006.re [new file with mode: 0644]