[ovs-dev] [PATCH] dynamic-string: Fix a bug that leads to assertion fail

Ben Pfaff blp at ovn.org
Tue Jul 24 21:47:46 UTC 2018


On Tue, Jul 24, 2018 at 08:37:08AM -0700, Yifeng Sun wrote:
> 'needed' should be size of needed memory space beyond allocated.
> 
> Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
> Reported-by: Yun Zhou <yunz at nvidia.com>
> Reported-by: Girish Moodalbail <gmoodalbail at gmail.com>

I don't see a bug here.  Can you explain why you think that there is a
bug?

(I note that this code dates back to before 2008.)

Thanks,

Ben.


More information about the dev mailing list