odp-util: Fix another hang in NSH action parsing.
Found by libfuzzer.
Reported-by: Bhargava Shastry
Acked-by: Jan Scheurich
@@ -1867,9 +1867,9 @@ parse_odp_encap_nsh_action(const char *s, struct ofpbuf *actions)
}
encap_nsh.mdlen = mdlen + padding;
ofpbuf_uninit(&b);
- }
continue;
}
+ }
ret = -EINVAL;
goto out;
