On Fri, Jun 05, 2015 at 10:48:30AM -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. Also add seat belts
> around these structure allocations.
> 
> Signed-off-by: Sabyasachi Sengupta <sabyasachi.sengu...@alcatel-lucent.com>

It makes no sense to check the xmalloc() or xzalloc() return value for
NULL.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to