[ovs-dev] [PATCH] lib: Add initalize when xmalloc ofproto: Add initalize when recv from sdn controller

Ben Pfaff blp at ovn.org
Thu Jun 14 17:43:06 UTC 2018


On Thu, Jun 14, 2018 at 04:18:27PM +0800, findtheonlyway at gmail.com wrote:
> From: findtheonlway <findtheonlyway at example.com>
> 
> When recv packet from onos, the ovs may report an error or
> crash due to the buffer is uninitalized.
> 
> Signed-off-by: findtheonlway <findtheonlyway at gmail.com>
> Signed-off-by: sunwenjie <sunwenjie at didichuxing.com>

Can you provide an example?  It's not really acceptable to make
xmalloc() initialize every allocation.


More information about the dev mailing list