[ovs-dev] [PATCH] netdev-vport: Fix segfault on bad vport configuration.

Ben Pfaff blp at nicira.com
Fri Nov 19 21:22:44 UTC 2010


On Fri, Nov 19, 2010 at 01:18:11PM -0800, Jesse Gross wrote:
> On Fri, Nov 19, 2010 at 1:08 PM, Ben Pfaff <blp at nicira.com> wrote:
> > When a vport parse error occurs, the vport_class's parse_config function
> > doesn't necessarily store a valid pointer into the vport_info's 'config'
> > member, so netdev_vport_create() needs to supply a null pointer here to
> > avoiding passing a wild pointer to free().
> 
> Looks good, thanks.

Thank you, I pushed it.




More information about the dev mailing list