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 19:59:06 +0000 (12:59 -0700)
commitc4bed75bb424a0eed49734d7715fca14123a62da
treeca33abc29412b74f680fda4d22e0425929b06d86
parente1154f713ec8f47ff38979d76e9456b49b0bc264
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