[ovs-dev] [PATCH] odp-util: Correct length check in format_odp_action().

Ben Pfaff blp at nicira.com
Thu Dec 16 22:39:27 UTC 2010


On Thu, Dec 16, 2010 at 02:33:51PM -0800, Jesse Gross wrote:
> When printing the action list we first check that the size of the
> action matches the expected length for that type.  However, when
> doing the lookup we were passing in the length of the action, not
> the type, leading to bogus values.

Oops.  Thanks for the fix.

This seems obviously correct, but I wonder why it took this long to be
discovered.





More information about the dev mailing list