2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

odp-util: Fix another hang in NSH action parsing.

Found by libfuzzer.

Reported-by: Bhargava Shastry <bshastry@sec.t-labs.tu-berlin.de>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jan Scheurich <jan.scheurich@ericsson.com>
This commit is contained in:
Ben Pfaff
2017-11-29 08:59:03 -08:00
parent 9131abe223
commit 99cf99597f

View File

@@ -1867,8 +1867,8 @@ parse_odp_encap_nsh_action(const char *s, struct ofpbuf *actions)
}
encap_nsh.mdlen = mdlen + padding;
ofpbuf_uninit(&b);
continue;
}
continue;
}
ret = -EINVAL;