aboutsummaryrefslogtreecommitdiff
path: root/libXmu
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-18 22:31:33 +0000
committermarha <marha@users.sourceforge.net>2011-01-18 22:31:33 +0000
commit541b3e916e6cbbf2ef5e8f6e3f049b24c01c74ca (patch)
treedd0c24e46695f23f6b21501ff663097dae23448c /libXmu
parente13493f3d4e467363e681ac2a216fec58b9f8770 (diff)
downloadvcxsrv-541b3e916e6cbbf2ef5e8f6e3f049b24c01c74ca.tar.gz
vcxsrv-541b3e916e6cbbf2ef5e8f6e3f049b24c01c74ca.tar.bz2
vcxsrv-541b3e916e6cbbf2ef5e8f6e3f049b24c01c74ca.zip
Solved possible crash due to not initialised pointer
Diffstat (limited to 'libXmu')
-rw-r--r--libXmu/src/RdBitF.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libXmu/src/RdBitF.c b/libXmu/src/RdBitF.c
index da22507a1..656a4573b 100644
--- a/libXmu/src/RdBitF.c
+++ b/libXmu/src/RdBitF.c
@@ -365,7 +365,7 @@ FILE *
fopen_file(_Xconst char *path, char *mode)
{
char buf[MAX_PATH];
- char* bufp;
+ char* bufp=buf;
void* ret = NULL;
UINT olderror = SetErrorMode (SEM_FAILCRITICALERRORS);