Thx, applied to master, On Mon, Sep 8, 2014 at 11:18 AM, Ben Pfaff <b...@nicira.com> wrote:
> On Mon, Sep 08, 2014 at 11:13:34AM -0700, Alex Wang wrote: > > On current master, when 'upcall_receive()' returns error, the > > ofpbuf 'upcall->put_actions' is uninitialized. In some usecase, > > the failure of 'upcall_receive()' will cause uninitialize of > > 'upcall->put_actions' and free of uninitialized pointer. > > > > This commit fixes the issue by making the caller not conduct > > the uninitialize of the 'upcall' when there is error. > > > > Found by inspection. > > > > Signed-off-by: Alex Wang <al...@nicira.com> > > > > --- > > PATCH -> V2: > > 1. make the caller just return the error. > > 2. fix the comment to warn the user. > > Acked-by: Ben Pfaff <b...@nicira.com> > _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev