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

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


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