Skip to content

Commit

Permalink
tests: fix overflow in firewall test
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <[email protected]>
  • Loading branch information
outscale-mgo committed Dec 3, 2018
1 parent 7295d39 commit c2b72d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/firewall/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ static void test_firewall_icmp(void)
# include "test-icmp.c"
const unsigned char *pkts[] = {pkt1, pkt2, pkt3, pkt4, pkt5,
pkt6, pkt7, pkt8, pkt9, pkt10};
int pkts_size[] = {98, 98, 98, 98, 98, 98, 98, 98, 98, 98};
int pkts_size[] = {74, 60, 54, 58, 60, 571, 54, 60, 54, 60};

firewall_replay(pkts, 10, pkts_size, 1);
}
Expand Down

0 comments on commit c2b72d7

Please sign in to comment.