On Thu, Jan 24, 2013 at 08:30:18PM +0800, 张东亚 wrote:
> Hi,
>   I have built an ovs (master-bfe834e) and found and segment fault error
> when I do the following operation:
> 
>   1. start ovs-vswitchd and ovsdb-server
>   2. set and controller that does not exist, ovs-vsctl set-controller br0
> "tcp:127.0.0.1"(which will lead connect refused error when ovs trying to
> open and
>      connection)
>   3. run ovs-ofctl snoop br0 and ovs-vswitchd will crash immediately
> 
>   The version is 1.9.90.
> 
>   After read the source code , I think the reason for this is
> rconn_add_monitor does not check the pointer of rconn->vconn in
> rconn_add_monitor while in
> my scenario vconn_open will be failed because there is no controller
> present.

I checked in a fix for that yesterday as commit
4766ce7a643 (rconn: Fix null pointer dereference in
rconn_add_monitor().).
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to