[ovs-git] [openvswitch/ovs] b2cb3f: patch: Check the right variable for null.

GitHub noreply at github.com
Fri Jun 2 04:15:17 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b2cb3f0bf2bb816d1e3a5f350925d1060ffa74fa
      https://github.com/openvswitch/ovs/commit/b2cb3f0bf2bb816d1e3a5f350925d1060ffa74fa
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M ovn/controller/patch.c

  Log Message:
  -----------
  patch: Check the right variable for null.

This function tried to check 'iface_peer' for null, but it actually
checked its always-nonnull 'peer' argument instead.  This fixes the
problem.

Found by Coverity.

Reported-at: https://scan3.coverity.com/reports.htm#v16889/p10449/fileInstanceId=14763064&defectInstanceId=4305294&mergedDefectId=179852
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>




More information about the git mailing list