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

Ben Pfaff blp at nicira.com
Sat Jun 6 05:17:51 UTC 2015


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 Sengupta <sabyasachi.sengupta at alcatel-lucent.com>

"git am" told me the patch was corrupted but I managed to apply the 3
one-character changes by hand ;-)

Applied, thanks!



More information about the dev mailing list