...
This rule appears in the Java Secure Coding Standard as MSC02-J. Generate strong random numbers.
...
Bibliography
Wiki Markup |
---|
\[[ISO/IEC 9899:1999|AA. Bibliography#ISO/IEC 9899-1999]\] Section 7.20.2.1, "The rand function" \[[MITRE 07|AA. Bibliography#MITRE 07]\] [CWE ID 327 |http://cwe.mitre.org/data/definitions/327.html], "Use of a Broken or Risky Cryptographic Algorithm," [CWE ID 330|http://cwe.mitre.org/data/definitions/330.html], "Use of Insufficiently Random Values" \[[MSDN|AA. Bibliography#MSDN]\] "[CryptGenRandom Function|http://msdn.microsoft.com/en-us/library/aa379942.aspx]" |
...
DCL07MSC23-CPP. Use as minimal scope as possible for all variables and methods. Ensure objects are fully initialized before allowing access. 49. Miscellaneous (MSC) MSC31-CPP. Ensure that return values are compared against the proper type