ofproto: Fix inserting buckets at the end of an empty group.
authorBen Pfaff <blp@ovn.org>
Thu, 15 Oct 2015 00:11:09 +0000 (17:11 -0700)
committerBen Pfaff <blp@ovn.org>
Sun, 29 Nov 2015 19:08:41 +0000 (11:08 -0800)
commit8e19e655b6f683b284b8b018157f86378a54af21
tree3d96daa635f5206c7db93c148324086f1d389cfe
parent09d4b951636b0ae2700ee3dc7146955e2e4b2c22
ofproto: Fix inserting buckets at the end of an empty group.

This caused a segfault.

Reported-by: Ray Li <rayli1107@gmail.com>
Reported-at: http://openvswitch.org/pipermail/discuss/2015-September/018746.html
Signed-off-by: Ben Pfaff <blp@ovn.org>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
ofproto/ofproto.c
tests/ofproto.at