[ovs-dev] [PATCH v2] odp-util: Properly handle the return values of scan_XXX functions

Ben Pfaff blp at ovn.org
Fri Oct 26 21:54:25 UTC 2018

On Thu, Oct 25, 2018 at 02:49:14PM -0700, Yifeng Sun wrote:
> Functions like scan_u8, return 0 when they failed to scan the expected
> values. Function scan_geneve failed to check this situation. This leads
> to using of uninitialized value of opt_len_mask. This patch fixes it
> and further inspects and fixes all the problematic places where
> the return values of scan_XXX functions are not properly handled.
> Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10800
> Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
> ---
> v1->v2: Fix a compiler warning,
>         ovs-dev-bounces complains [ovs-dev] in the subject, remove it.

Thanks, applied to master and branch-2.10.

More information about the dev mailing list