[ovs-git] [openvswitch/ovs] 8366ec: pktbuf: Always initialize '*bufferp' even when 'pb...
noreply at github.com
Mon Jan 19 18:10:02 UTC 2015
Author: Ben Pfaff <blp at nicira.com>
Date: 2015-01-19 (Mon, 19 Jan 2015)
pktbuf: Always initialize '*bufferp' even when 'pb == NULL'.
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)
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Thomas Graf <tgraf at noironetworks.com>
More information about the git