[ovs-dev] [PATCH] pktbuf: Always initialize '*bufferp' even when 'pb == NULL'.

Ben Pfaff blp at nicira.com
Mon Jan 19 18:11:29 UTC 2015


On Mon, Jan 19, 2015 at 02:15:10PM +0100, Thomas Graf wrote:
> On 01/17/15 at 09:21am, Ben Pfaff wrote:
> > Otherwise if a service connection (which does not have buffers) attempts
> > to use buffers, '*bufferp' will be uninitialized, which can cause a
> > segfault in the caller.
> > 
> > Found using OFtest configured to use service (active rather than passive)
> > connections.
> > 
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> 
> Nice catch.
> 
> Acked-by: Thomas Graf <tgraf at noironetworks.com>

Thanks.

Applied to master, branch-2.[3210], and branch-1.{11,9,4}.



More information about the dev mailing list