ofp-actions: Prevent integer overflow in decode.
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 <email@example.com> Acked-by: Jarno Rajahalme <firstname.lastname@example.org>
Showing with 5 additions and 1 deletion