[ovs-git] [openvswitch/ovs] 316d09: treewide: Avoid undefined behavior passing null in...

GitHub noreply at github.com
Tue Jun 13 17:02:45 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 316d0932469eaf6ced323b134581c7ec66e960f6
      https://github.com/openvswitch/ovs/commit/316d0932469eaf6ced323b134581c7ec66e960f6
  Author: Lance Richardson <lrichard at redhat.com>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M lib/netlink.c
    M lib/ofpbuf.c
    M lib/svec.c
    M lib/util.c
    M lib/util.h
    M ovn/utilities/ovn-nbctl.c

  Log Message:
  -----------
  treewide: Avoid undefined behavior passing null in nonnull parameters.

Eliminate a number of instances of undefined behavior related to
passing NULL in parameters having "nonnull" annotations.

Found with gcc's undefined behavior sanitizer.

Signed-off-by: Lance Richardson <lrichard at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list