[ovs-git] [openvswitch/ovs] 0d4af1: netdev-dpdk: Consistently use xstrdup() instead of...

GitHub noreply at github.com
Tue Jan 12 18:00:22 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0d4af148a39899ebeea9b31362924a98d87a80d7
      https://github.com/openvswitch/ovs/commit/0d4af148a39899ebeea9b31362924a98d87a80d7
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-01-12 (Tue, 12 Jan 2016)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Consistently use xstrdup() instead of strdup().

This avoids a segmentation fault in case of memory allocation failure.

Found by inspection.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>




More information about the git mailing list