summaryrefslogtreecommitdiff
path: root/sal/rtl/source/uuid.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2003-11-25 09:45:49 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2003-11-25 09:45:49 +0000
commit625ce0b9adfffa01e36b618c7fd967943bbf1c25 (patch)
treed9d76cd59e08ed5b6db8ddeac5b22a944292eab4 /sal/rtl/source/uuid.cxx
parent61ddacb8962434976c5efe8e97efb6126d0b8cbc (diff)
INTEGRATION: CWS valgrind01 (1.1.146); FILE MERGED
2003/10/10 13:41:32 hr 1.1.146.1: #i20184#: initialize all members of oslProcessInfo struct before feeding it to the random generator
Diffstat (limited to 'sal/rtl/source/uuid.cxx')
-rw-r--r--sal/rtl/source/uuid.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sal/rtl/source/uuid.cxx b/sal/rtl/source/uuid.cxx
index a2deb0735..aea4dbee8 100644
--- a/sal/rtl/source/uuid.cxx
+++ b/sal/rtl/source/uuid.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: uuid.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: jbu $ $Date: 2002-11-14 10:40:13 $
+ * last change: $Author: rt $ $Date: 2003-11-25 10:45:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -213,6 +213,7 @@ static void get6ByteRandomValue( sal_uInt8 *pNode )
{
static sal_uInt8 node[ 6 ];
oslProcessInfo data;
+ memset(&data, 0, sizeof(data));
rtlRandomPool pool = rtl_random_createPool ();
/* improve random value with the process identifier. This reduces the chance