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

GitHub noreply at github.com
Tue Jan 31 16:12:46 UTC 2017

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d9c194a1c028a1a123ef104fc8794eef7004c036
  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