VirtualBox

Changeset 11126 in vbox


Ignore:
Timestamp:
Aug 4, 2008 9:29:19 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34064
Message:

iprt: Fixed copy & past bug in RTRandU64Ex (weird why this didn't show up in the testcase). Fixed harmless uninitialized variable in the fallback code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/rand/rand.cpp

    r11078 r11126  
    198198        uint64_t    off;
    199199        uint32_t    off32;
    200         uint8_t     ab[5];
     200        uint8_t     ab[9];
    201201    } u;
    202202
     
    272272void rtRandGenBytesFallback(void *pv, size_t cb) RT_NO_THROW
    273273{
    274     uint64_t u64Last;
     274    uint64_t u64Last = 0;
    275275    uint8_t *pb = (uint8_t *)pv;
    276276    for (unsigned i = 0;; i++)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette