summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-12-13 05:14:59 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-12-13 05:14:59 +0800
commit3c757a9e591d645a0e0d537382a1261b2cb8500b (patch)
treed22004bd96ec2fec48a69cc359b7c16f25df3f08
parentab1428e9b0b6a9de8a005ab261147a6990993a07 (diff)
downloadcompiz-with-glib-mainloop-3c757a9e591d645a0e0d537382a1261b2cb8500b.tar.gz
compiz-with-glib-mainloop-3c757a9e591d645a0e0d537382a1261b2cb8500b.tar.bz2
Fix buffer overflow on some platforms (Non NULL passed to XOpenDisplay)
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a8e4445..066279a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -176,7 +176,9 @@ CompManager::parseArguments (int argc, char **argv)
}
CompManager::CompManager () :
- disableSm (false)
+ disableSm (false),
+ clientId (NULL),
+ displayName (NULL)
{
}