[ovs-git] [openvswitch/ovs] 1f2968: vlog: Fix crash when --syslog-method has no argume...

GitHub noreply at github.com
Fri Aug 19 16:11:57 UTC 2016


  Branch: refs/heads/branch-2.4
  Home:   https://github.com/openvswitch/ovs
  Commit: 1f2968f6252aab51deb3a3cba1eefcde43ff8148
      https://github.com/openvswitch/ovs/commit/1f2968f6252aab51deb3a3cba1eefcde43ff8148
  Author: Binbin Xu <xu.binbin1 at zte.com.cn>
  Date:   2016-08-19 (Fri, 19 Aug 2016)

  Changed paths:
    M include/openvswitch/vlog.h

  Log Message:
  -----------
  vlog: Fix crash when --syslog-method has no argument.

When we start ovs-appctl with no argument option "syslog-method",
the process crashed.

backtrace:
0  0x00000000004180c4 in vlog_set_syslog_method (method=0x0) at lib/vlog.c:587
1  0x0000000000408b27 in parse_command_line (argv=0x7fff097e83b8, argc=2) at utilities/ovs-appctl.c:175
2  main (argc=2, argv=0x7fff097e83b8) at utilities/ovs-appctl.c:53

Signed-off-by: Binbin Xu <xu.binbin1 at zte.com.cn>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list