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

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


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 9ad0ffc13e4ac92093daa4f8ec31d7be0a6bf2d7
      https://github.com/openvswitch/ovs/commit/9ad0ffc13e4ac92093daa4f8ec31d7be0a6bf2d7
  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