Skip to content

Commit

Permalink
[NetKAT] Remove overflow in FuzzTesting.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 703572977
  • Loading branch information
jonathan-dilorenzo authored and copybara-github committed Dec 6, 2024
1 parent 24ec2d0 commit 2037d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netkat/evaluator_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void MatchOnlyMatchesPacketsWithCorrectValueAndField(Packet packet,
packet[field] = value;
EXPECT_TRUE(Evaluate(MatchProto(field, value), packet));

packet[field] = value - 1;
packet[field] = ~value;
EXPECT_FALSE(Evaluate(MatchProto(field, value), packet));

packet.erase(field);
Expand Down

0 comments on commit 2037d42

Please sign in to comment.