diff options
author | Philip Langdale <philipl@fido2.homeip.net> | 2006-12-06 16:48:12 -0800 |
---|---|---|
committer | Philip Langdale <philipl@fido2.homeip.net> | 2006-12-06 16:48:12 -0800 |
commit | 9d41384616c8f6d00b53a61634f73e728d86d615 (patch) | |
tree | a524fe31c7097bfd7685564b91db830400567524 | |
parent | ac2a57ea7aea00c695495aa01c27402569a9514a (diff) |
Explicitly initialise buffer to NULL for parsing xinerama topologies.vmware-10_14_1
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/vmware.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 9adb5a8..e68952d 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-vmware], - 10.14.0, + 10.14.1, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-vmware) diff --git a/src/vmware.c b/src/vmware.c index caeca2d..9ba73b8 100644 --- a/src/vmware.c +++ b/src/vmware.c @@ -82,7 +82,7 @@ char rcsId_vmware[] = #define VMWARE_DRIVER_NAME "vmware" #define VMWARE_MAJOR_VERSION 10 #define VMWARE_MINOR_VERSION 14 -#define VMWARE_PATCHLEVEL 0 +#define VMWARE_PATCHLEVEL 1 #define VMWARE_DRIVER_VERSION \ (VMWARE_MAJOR_VERSION * 65536 + VMWARE_MINOR_VERSION * 256 + VMWARE_PATCHLEVEL) @@ -433,7 +433,7 @@ VMWAREParseTopologyElement(ScrnInfoPtr pScrn, Bool needTerminator, unsigned int *outValue) { - char buf[10]; + char buf[10] = {0, }; size_t i = 0; int retVal = -1; const char *str = element; |