[ovs-dev] [PATCH] Fix a memory corruption in CFM

Guolin Yang, VMware gyang at nicira.com
Wed Sep 4 16:01:43 UTC 2013


You are right, I send  anew patch with proper description

On Wed, Sep 4, 2013 at 8:00 AM, Ben Pfaff <blp at nicira.com> wrote:

> On Wed, Sep 04, 2013 at 12:36:50AM -0700, gyang at nicira.com wrote:
> > From: Guolin Yang <gyang at nicira.com>
> >
> > In cfm, when allocating the rmp array, the size is not calculated
> correctly
> > which will cause memory corruption.
> >
> > Signed-off-by: Guolin Yang <gyang at nicira.com>
>
> Thanks for the patch.  It is obviously correct.
>
> But I am not sure that there is any real memory corruption.  Obviously
> there would be, if any of the callers modified the allocated memory.
> But I do not see any of the chain of callers doing that: I only see them
> reading it and eventually freeing it.  This will not corrupt any
> memory.  Do you see anything different?
>
> Thanks,
>
> Ben.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130904/37024a9e/attachment-0003.html>


More information about the dev mailing list