]> The Tcpdump Group git mirrors - tcpdump/commit
OpenFlow: Refine more length checks.
authorDenis Ovsienko <[email protected]>
Wed, 5 Jan 2022 22:57:45 +0000 (22:57 +0000)
committerDenis Ovsienko <[email protected]>
Wed, 5 Jan 2022 22:57:45 +0000 (22:57 +0000)
commitbeddcbb4ea5406ae22818a6cc7da7b315d04eb5e
tree5270bcfdf5133ae6e008060211280c4b8daa043d
parentbe2af02dd563af4ab2b91f40fa415a3fe8eab8a1
OpenFlow: Refine more length checks.

In print-openflow-1.0.c and print-openflow-1.3.c replace the remaining
"goto invalid" checks with ND_ICHECK_U() and ND_ICHECKMSG_U().  Redo the
changes from commit 1ce16ea: use the same order of arguments and the
same comparison operators as before the change and lose the unsigned
compensation, which is no longer required.  Add another test case using
a malformed packet from Francois-Xavier.
print-openflow-1.0.c
print-openflow-1.3.c
tests/TESTLIST
tests/of10_inv_QUEUE_GET_CONFIG_REPLY-vv.out [new file with mode: 0644]
tests/of10_inv_QUEUE_GET_CONFIG_REPLY.pcap [new file with mode: 0644]