]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utilsexc.cpp
small bug fix for composite options
[wxWidgets.git] / src / os2 / utilsexc.cpp
index 19afebe4d93f2baed72b32d42f361bfe53562171..f80036e7d413c9217aa7ff3475478ab68831d529 100644 (file)
@@ -248,9 +248,9 @@ bool wxGetFullHostName(
     char                            zServer[256];
     char                            zComputer[256];
     unsigned long                   ulLevel = 0;
-    unsigned char*                  zBuffer;
-    unsigned long                   ulBuffer;
-    unsigned long*                  pulTotalAvail;
+    unsigned char*                  zBuffer = NULL;
+    unsigned long                   ulBuffer = 256;
+    unsigned long*                  pulTotalAvail = NULL;
 
     NetBios32GetInfo( (const unsigned char*)zServer
                      ,(const unsigned char*)zComputer