diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-11-25 09:45:49 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-11-25 09:45:49 +0000 |
commit | e31c2b4225840b5b8d93cf95ba5c994127cccda3 (patch) | |
tree | 9126ebadd067ee5913b97a927f98ef1877dc66a0 /sal/rtl | |
parent | 42d47843e9be58b2c802a78113c5a8b4437ebb2f (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')
-rw-r--r-- | sal/rtl/source/uuid.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sal/rtl/source/uuid.cxx b/sal/rtl/source/uuid.cxx index de476ed190ac..b31047caffb7 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 |