[ovs-git] [openvswitch/ovs] cb84fb: ofctl: break the loop if ovs_pcap_read returns error

Ben Pfaff noreply at github.com
Fri Feb 22 21:05:38 UTC 2019


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: cb84fb825dab39bea3abdf1799d204afbb1b3d35
      https://github.com/openvswitch/ovs/commit/cb84fb825dab39bea3abdf1799d204afbb1b3d35
  Author: Li RongQing <lirongqing at baidu.com>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M utilities/ovs-ofctl.c

  Log Message:
  -----------
  ofctl: break the loop if ovs_pcap_read returns error

otherwise packet is NULL, and dereference it to cause segfault

Signed-off-by: Li RongQing <lirongqing at baidu.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list