[ovs-dev] [PATCH] ovs-openflowd: Don't segfault when no controllers specified

Justin Pettit jpettit at nicira.com
Fri Oct 8 18:27:23 UTC 2010


On Oct 8, 2010, at 9:17 AM, Ben Pfaff wrote:

> On Thu, Oct 07, 2010 at 11:59:53PM -0700, Justin Pettit wrote:
>> If no controllers are specified on the command-line, ovs-openflowd adds
>> a couple of its own.  The code that accounts for the controllers
>> correctly allocated space for them, but used the command-line count to
>> determine how many to set.  This led to a segfault when later code tried
>> to dereference them.
>> 
>> Reported-by: Derek Cormier <derek.cormier at lab.ntt.co.jp>
> 
> Looks good, thanks.


Thanks.  I pushed it.

--Justin






More information about the dev mailing list