[ovs-git] [openvswitch/ovs] 3da29e: ofproto-dpif: Use xzalloc instead of xmalloc.

GitHub noreply at github.com
Sat Jun 6 05:17:20 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 3da29e32942e9ad17bb8b37275eed38f78ed9fba
      https://github.com/openvswitch/ovs/commit/3da29e32942e9ad17bb8b37275eed38f78ed9fba
  Author: Sabyasachi Sengupta <sabyasachi.sengupta at alcatel-lucent.com>
  Date:   2015-06-05 (Fri, 05 Jun 2015)

  Changed paths:
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  ofproto-dpif: Use xzalloc instead of xmalloc.

Use xzalloc instead of xmalloc for some key structure allocations in
ofproto-dpif (viz. ofproto_dpif, ofport_dpif and rule_dpif) so as to
prevent uninitialized values in these structures.

Signed-off-by: Sabyasachi Sengupta <sabyasachi.sengupta at alcatel-lucent.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list