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

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

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c5358a967aa144db7ffddff7d192a0f52b57885d
  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