Skip to content

Commit

Permalink
Check that notation data has no trailing data (found with afl 2.52b).
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdafu committed Jun 28, 2018
1 parent 9fcae2c commit 1fe5046
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ struct value {
struct flags : bytes<4> {};
struct name_length : bytes<2> {};
struct value_length : bytes<2> {};
struct grammar : must<flags, name_length, value_length, name, value> {};
struct grammar : must<flags, name_length, value_length, name, value, eof> {};

// Action
template <typename Rule>
Expand Down

0 comments on commit 1fe5046

Please sign in to comment.