Re: [ovs-dev] [PATCH v2] ofproto-dpif: Use xzalloc instead of xmalloc

2015-06-05 Thread Ben Pfaff
On Fri, Jun 05, 2015 at 09:49:47PM -0700, Sabyasachi Sengupta wrote: > > > 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

[ovs-dev] [PATCH v2] ofproto-dpif: Use xzalloc instead of xmalloc

2015-06-05 Thread Sabyasachi Sengupta
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 --- diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index