diff options
author | Yifeng Sun <pkusunyifeng@gmail.com> | 2018-10-25 14:49:14 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-10-26 14:46:41 -0700 |
commit | 4e9c96f00614d829347dce7f183c3bedc2b35829 (patch) | |
tree | de8f8fcb147621dfbac335412ee2862a436f1960 /datapath/linux | |
parent | ead2252b2b717f52728a6b8c78a2e9346863ccb8 (diff) | |
download | openvswitch-4e9c96f00614d829347dce7f183c3bedc2b35829.tar.gz |
odp-util: Properly handle the return values of scan_XXX functions
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@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath/linux')
0 files changed, 0 insertions, 0 deletions