[ovs-dev] [PATCH] pktbuf: Always initialize '*bufferp' even when 'pb == NULL'.
Thomas Graf
tgraf at noironetworks.com
Mon Jan 19 13:15:10 UTC 2015
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>
More information about the dev
mailing list