]> git.proxmox.com Git - mirror_ovs.git/commit
odp-util: Fix abort while formatting nsh actions.
authorIlya Maximets <i.maximets@ovn.org>
Fri, 18 Dec 2020 13:34:55 +0000 (14:34 +0100)
committerIlya Maximets <i.maximets@ovn.org>
Thu, 21 Jan 2021 12:56:22 +0000 (13:56 +0100)
commite7eb904d2bd45201efdc0caf58d8930628357f15
tree00ace1b145c754147971c126d12b3244fcf6ea2e
parent50e5523b9b2b154e5fafc5acdcdec85e9cc5a330
odp-util: Fix abort while formatting nsh actions.

OVS should not exit if it cannot format NSH actions for the user.
It should just report the error like the other formatting functions do.

Credit to OSS-Fuzz.

Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21509
Fixes: 1fc11c5948cf ("Generic encap and decap support for NSH")
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Acked-by: Mark Gray <mark.d.gray@redhat.com>
lib/odp-util.c