[ovs-dev] [PATCH 1/6] flow: Avoid assertion failure on invalid IPv6 packet.

Ben Pfaff blp at nicira.com
Thu Mar 3 17:57:37 UTC 2011


On Wed, Mar 02, 2011 at 07:20:30PM -0800, Jesse Gross wrote:
> We compute the length of the IPv6 header by parsing all of the
> extension headers that we know about.  However, the final result
> is checked using ofpbuf_pull(), which checks the size with an
> assertion.  Since the length of the final header is not checked
> in any other way an invalid packet can trigger this assertion.

Looks good, thank you.




More information about the dev mailing list