This is the 2009 version of TestU01, a software library, implemented in the ANSI C language, and offering a collection of utilities for the empirical statistical testing of uniform random number generators.
Apache License 2.0
64
stars
17
forks
source link
[Fix] Update fprintf, sprintf, and printf to avoid a security warning… #20
Security warning complains about a variable being used for the format string since it could contain format parameters which would cause bad reads. Fix is simply to provide "%s" as the format string and the original argument as a parameter.
… when compiling with GCC.
Security warning complains about a variable being used for the format string since it could contain format parameters which would cause bad reads. Fix is simply to provide "%s" as the format string and the original argument as a parameter.