stream: Fix uninitialized values in stream_init().
authorBen Pfaff <blp@nicira.com>
Wed, 2 Nov 2011 19:59:06 +0000 (12:59 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 2 Nov 2011 20:09:37 +0000 (13:09 -0700)
commit71f7f69c052927ec676fa70d55a2296c7e859af6
treeda63f74c8c691595c71c97b72f1cf75478a29c37
parentf956fd128a3fd3c466470096aa0fc35789c1a3bf
stream: Fix uninitialized values in stream_init().

stream_init() didn't initialize the remote_ip, remote_port, local_ip, or
local_port members of the stream, so "unix" streams that don't have any of
those would get random values instead.

Reported-by: "Voravit T." <voravit@kth.se>
Reported-by: Jari Sundell <sundell.software@gmail.com>
AUTHORS
lib/stream.c