os-ken/ryu/controller
IWASE Yusuke 7b5d6bd24a ofp_handler: Handle empty data field in OFPErrorMsg
OpenFlow Spec defines that the data field should contain at least
64 bytes of the failed request that caused the error message to be
generated, unless otherwise specified.
But, the data field can be empty in some switch implementation,
this patch checks the data field length and skips parsing it if the
field does not contain enough bytes to parse.

Reported-by: Yury Yurochko <y.yurochko@brain4net.com>
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-02-27 20:39:55 +09:00
..
2012-04-06 08:38:45 +09:00
2014-01-23 15:42:51 +09:00
2012-05-01 08:31:40 +09:00
2014-05-27 20:24:50 +09:00