Title: MSC51-CPP. Ensure your random number generator is properly seeded  
Author: Elpiniki Tsakalaki Oct 28, 2008
Last Changed by: Jill Britton Jun 30, 2022
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/-ns-BQ
Export As: Word · PDF  
Incoming Links
SEI CERT C++ Coding Standard (1)
    Page: MSC50-CPP. Do not use std::rand() for generating pseudorandom numbers
Hierarchy
Parent Page
    Page: Rule 49. Miscellaneous (MSC)
Outgoing Links
External Links (15)
    cwe.mitre.org/data/definitions/330.html
    https://pvs-studio.com/en/docs/warnings/v1057/
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    cwe.mitre.org/data/definitions/327.html
    https://www.securecoding.cert.org/confluence/display/cplusp…
    https://wiki.sei.cmu.edu/confluence/display/cplusplus/Polys…
    web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-1637
    https://www.mathworks.com/help/bugfinder/ref/certcmsc51cpp.…
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    cwe.mitre.org/
    cwe.mitre.org/data/definitions/337.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://en.wikipedia.org/wiki/Mersenne_twister
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://www.securecoding.cert.org/confluence/pages/viewpage…
SEI CERT C++ Coding Standard (18)     Page: Klocwork_V
    Page: PVS-Studio
    Page: Axivion Bauhaus Suite
    Page: Parasoft_V
    Page: Astrée_V
    Page: Polyspace Bug Finder_V
    Page: Helix QAC
    Page: BB. Definitions
    Page: RuleChecker
    Page: PVS-Studio_V
    Page: Astrée
    Page: Helix QAC_V
    Page: RuleChecker_V
    Home page: SEI CERT C++ Coding Standard
    Page: Axivion Bauhaus Suite_V
    Page: CodeSonar_V
    Page: AA. Bibliography
    Page: Parasoft
SEI CERT C Coding Standard (3)     Page: MSC32-C. Properly seed pseudorandom number generators
    Home page: SEI CERT C Coding Standard
    Page: CodeSonar