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

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


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 26352f49dcd0f70e1d8d17dddfeba8ea37c34765
      https://github.com/openvswitch/ovs/commit/26352f49dcd0f70e1d8d17dddfeba8ea37c34765
  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