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 /src | |
parent | ac2a57ea7aea00c695495aa01c27402569a9514a (diff) |
Explicitly initialise buffer to NULL for parsing xinerama topologies.vmware-10_14_1
Diffstat (limited to 'src')
-rw-r--r-- | src/vmware.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |