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

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


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