Gonglei 8db804ac41 net/socket: fix Uninitialized scalar variable
If is_connected parameter is false, the saddr
variable will no initialize. Coverity report:
uninit_use: Using uninitialized value saddr.sin_port.

We don't need add saddr information to nc->info_str
when is_connected is false.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-11-21 10:50:54 +00:00
..
2013-03-25 11:13:10 +01:00
2014-06-27 10:39:10 +02:00
2014-11-17 11:40:36 +01:00
2014-11-21 10:50:54 +00:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-02-27 16:10:47 +01:00
2013-02-01 11:03:02 -06:00
2012-12-19 08:31:29 +01:00