[ovs-dev] [PATCH] Fixed segfault in learn_format

Ben Pfaff blp at nicira.com
Mon Nov 14 17:28:06 UTC 2011


On Mon, Nov 14, 2011 at 06:27:05PM +0900, Jari Sundell wrote:
> This patch fixes an issue where dst_field->n_bytes == 1 and
> src_value_bytes == 2 causing a segfault.

This doesn't look right at all.  AFAICT your patch causes the whole
value to be thrown away instead of displayed.

Can you give an example of a "learn" action that causes the problem,
to allow it to be fixed properly?

Thanks,

Ben.



More information about the dev mailing list