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:19 +0000 (13:09 -0700)
commit4133900f2d787d9197b7565e8f69819eeebaad0b
treeae28c30b9592199f11b337d2fbec5249fe0482c9
parent0be6fb341f143e43d2cf46b6b2e0cdb840ab2dca
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