[ovs-git] [openvswitch/ovs] 200be6: ofproto-dpif-sflow: Use xzalloc() instead of callo...

GitHub noreply at github.com
Wed Sep 16 17:13:22 UTC 2015


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: 200be6f4f388940911f18788c58aca81f72b9d39
      https://github.com/openvswitch/ovs/commit/200be6f4f388940911f18788c58aca81f72b9d39
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-09-16 (Wed, 16 Sep 2015)

  Changed paths:
    M AUTHORS
    M ofproto/ofproto-dpif-sflow.c

  Log Message:
  -----------
  ofproto-dpif-sflow: Use xzalloc() instead of calloc() to allocate memory.

Memory allocation shouldn't be allowed to fail.

CC: Neil McKee <neil.mckee at inmon.com>
Reported-by: neeraj mehta <mehtaneeraj07 at gmail.com>
Reported-at: http://openvswitch.org/pipermail/discuss/2015-September/018776.html
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>




More information about the git mailing list