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

Ben Pfaff blp at nicira.com
Fri Oct 8 16:17:51 UTC 2010


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.




More information about the dev mailing list