summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorИлья А. Ткаченко <ilya.tkachenko@syncopate.ru>2014-12-23 11:45:24 +0300
committerRalf Habacker <ralf.habacker@freenet.de>2014-12-23 11:02:00 +0100
commitbf79b97f87f614becb6334ad3d008759e53c8b96 (patch)
tree8319a35d2f0279d9b18d86b6ef9b458e42d99f90
parent7afacaf653e50b63f2eb3895821048d7e824823a (diff)
downloaddbus-bf79b97f87f614becb6334ad3d008759e53c8b96.tar.gz
Fix GetExtendedTcpTable crash on vista sp0.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77008 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
-rw-r--r--dbus/dbus-sysdeps-win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c
index 1167e967..00848363 100644
--- a/dbus/dbus-sysdeps-win.c
+++ b/dbus/dbus-sysdeps-win.c
@@ -146,7 +146,7 @@ static dbus_pid_t
get_pid_from_extended_tcp_table(int peer_port)
{
dbus_pid_t result;
- DWORD errorCode, size, i;
+ DWORD errorCode, size = 0, i;
MIB_TCPTABLE_OWNER_PID *tcp_table;
if ((errorCode =