[ovs-git] [openvswitch/ovs] 7ffd79: meta-flow: Make mf_vl_mff_mf_from_nxm_header() req...

GitHub noreply at github.com
Fri Aug 3 23:54:19 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 7ffd79d8561cc24d0ca968d5bc30fa79b0ac44b8
      https://github.com/openvswitch/ovs/commit/7ffd79d8561cc24d0ca968d5bc30fa79b0ac44b8
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-08-03 (Fri, 03 Aug 2018)

  Changed paths:
    M lib/meta-flow.c

  Log Message:
  -----------
  meta-flow: Make mf_vl_mff_mf_from_nxm_header() require a valid field.

All the users of mf_vl_mff_mf_from_nxm_header() expect it to always obtain
a valid field or to report an error.  In practice, it did not report an
error in the case where the field was unknown (although it did report an
error in some other cases).  This commit fixes the problem.

Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9652
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Alin Gabriel Serdean <aserdean at ovn.org>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list