[ovs-git] [openvswitch/ovs] ccfd08: netlink-socket: Fix possiblity of nl_transact dere...

GitHub noreply at github.com
Tue Jan 31 16:13:01 UTC 2017


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: ccfd082a920c8a8e653e42a038668873e20da4d1
      https://github.com/openvswitch/ovs/commit/ccfd082a920c8a8e653e42a038668873e20da4d1
  Author: Roi Dayan <roid at mellanox.com>
  Date:   2017-01-31 (Tue, 31 Jan 2017)

  Changed paths:
    M lib/netlink-socket.c

  Log Message:
  -----------
  netlink-socket: Fix possiblity of nl_transact dereferencing null pointer

Many nl_transact callers and its wrapper tc_transact pass NULL for replyp
which is being accessed in error flow without being checked if null or not.

Signed-off-by: Roi Dayan <roid at mellanox.com>
Reviewed-by: Paul Blakey <paulb at mellanox.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list