Title: MSC50-CPP. Do not use std::rand() for generating pseudorandom numbers  
Author: Justin Pincar Aug 13, 2008
Last Changed by: Jill Britton Apr 20, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/2ns-BQ
Export As: Word · PDF  
Incoming Links
SEI CERT Oracle Coding Standard for Java (1)
    Page: MSC02-J. Generate strong random numbers
Hierarchy
Parent Page
    Page: Rule 49. Miscellaneous (MSC)
Outgoing Links
External Links (9)
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    cwe.mitre.org/data/definitions/327.html
    dl.acm.org/citation.cfm?doid=272991.272995
    https://www.mathworks.com/help/bugfinder/ref/certcmsc50cpp.…
    cwe.mitre.org/
    https://www.securecoding.cert.org/confluence/display/cplusp…
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://wiki.sei.cmu.edu/confluence/display/cplusplus/Polys…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C++ Coding Standard (23)     Page: Helix QAC_V
    Page: RuleChecker_V
    Page: BB. Definitions
    Page: Ldra_V
    Page: ECLAIR_V
    Page: Clang_40_V
    Page: CodeSonar_V
    Page: MSC51-CPP. Ensure your random number generator is properly seeded
    Page: Parasoft
    Page: Astrée
    Home page: SEI CERT C++ Coding Standard
    Page: Clang
    Page: Klocwork_V
    Page: Axivion Bauhaus Suite
    Page: Rose
    Page: Polyspace Bug Finder_V
    Page: LDRA
    Page: Parasoft_V
    Page: AA. Bibliography
    Page: RuleChecker
    Page: Axivion Bauhaus Suite_V
    Page: Astrée_V
    Page: Helix QAC
SEI CERT Oracle Coding Standard for Java (2)     Page: MSC02-J. Generate strong random numbers
    Home page: SEI CERT Oracle Coding Standard for Java
SEI CERT C Coding Standard (4)     Home page: SEI CERT C Coding Standard
    Page: ECLAIR
    Page: MSC30-C. Do not use the rand() function for generating pseudorandom numbers
    Page: CodeSonar