]> The Tcpdump Group git mirrors - tcpdump/commit
OpenFlow 1.0: fix OFPST_QUEUE decoding bug
authorDenis Ovsienko <[email protected]>
Tue, 11 Jun 2013 20:52:09 +0000 (00:52 +0400)
committerDenis Ovsienko <[email protected]>
Tue, 11 Jun 2013 20:52:09 +0000 (00:52 +0400)
commit00ac5be4b6d44af1750c93ff30656972a6269ff0
treeeb843c52aaa58cbd5a69452d8c205a1b5c298c3e
parent294fc9b59b4e627defdabc5f3aaca057a599a005
OpenFlow 1.0: fix OFPST_QUEUE decoding bug

The while loop in of10_queue_stats_reply_print() decremented the
remaining length by 104 instead of 32. As soon as that happened the
decoding didn't proceed/stop in a normal way and was likely to hit
snapend. Fixed.
print-openflow-1.0.c