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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user