ofp-actions: Prevent integer overflow in decode.
Upstream commit 5308056f. When decoding a variable-length action, if the length of the action exceeds the length storable in a uint16_t then something has gone terribly wrong. Assert that this is not the case. Signed-off-by: Joe Stringer <firstname.lastname@example.org> Acked-by: Jarno Rajahalme <email@example.com>
Showing with 5 additions and 1 deletion