diff options
author | jpierre%netscape.com <devnull@localhost> | 2002-07-17 00:21:09 +0000 |
---|---|---|
committer | jpierre%netscape.com <devnull@localhost> | 2002-07-17 00:21:09 +0000 |
commit | dd9acab7c1ad3e54853c75063976debd82116501 (patch) | |
tree | 542a32ab8e6e9f15077afd6fad70fe3526fa0df2 | |
parent | a13e9d5d8b116453e52afae07796280eec2b2d32 (diff) | |
parent | 38bd9391f039fc03595e13ad39bae20aac55f440 (diff) | |
download | nss-hg-dd9acab7c1ad3e54853c75063976debd82116501.tar.gz |
Fix for 153245
-rw-r--r-- | security/nss/lib/freebl/os2_rand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/os2_rand.c b/security/nss/lib/freebl/os2_rand.c index 7eede8883..ee1703d57 100644 --- a/security/nss/lib/freebl/os2_rand.c +++ b/security/nss/lib/freebl/os2_rand.c @@ -123,6 +123,7 @@ EnumSystemFiles(void (*func)(const char *)) sizeof(ULONG)) == NO_ERROR) { bootLetter[0] = sysInfo + 'A' -1; + bootLetter[1] = '\0'; strcpy(sysDir, bootLetter); strcpy(sysDir+1, ":\\OS2\\"); @@ -173,7 +174,7 @@ ReadFiles(const char *file) } static void -ReadSystemFiles() +ReadSystemFiles(void) { // first count the number of files dwNumFiles = 0; |