summaryrefslogtreecommitdiffhomepage
path: root/doc/source/quantumclient/common/exceptions.py
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2016-02-22 13:20:30 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-27 20:39:55 +0900
commit7b5d6bd24a59f3482c6303400049042a54335ac2 (patch)
tree14cd377501ebe2f96a444d7e4f13727e7be8ca32 /doc/source/quantumclient/common/exceptions.py
parent51fcda83b5b60859d5c9a924669121839323e1e6 (diff)
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>
Diffstat (limited to 'doc/source/quantumclient/common/exceptions.py')
0 files changed, 0 insertions, 0 deletions