[ovs-dev] [valgrind 3/5] flow: Fix use-after-free in flow_compose().

Andy Zhou azhou at nicira.com
Thu Jun 5 17:34:38 UTC 2014


On Wed, Jun 4, 2014 at 5:07 PM, Ben Pfaff <blp at nicira.com> wrote:
> flow_compose_l4() can cause 'b' to be reallocated, thus the network header
> pointer needs to be refreshed afterward.
>
> Found by valgrind in the IPv6 case.  I updated the IPv4 case too just in
> case, and for consistency.
>
> Signed-off-by: Ben Pfaff <blp at nicira.com>

Acked-by: Andy Zhou <azhou at nicira.com>



More information about the dev mailing list