-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of Insufficiently Random Values #691
Comments
Well, it may be an issue with the static analyzer? ZipArchive/SSZipArchive/minizip/mz_crypt_apple.c Lines 22 to 23 in 79d4dc9
So we could declare |
Steps to reproduce
Expected behavior
No report
Actual behavior
Binary makes use of the insecure Random function(s)
The binary may use the following insecure Random function(s) _random , _srand
Version of ZipArchive
Any
Problem
minzip uses insecure
srand
andrandom
if none of the advanced random functions are defined to be availableSolution
Add
HAVE_ARC4RANDOM_BUF
orHAVE_ARC4RANDOM
toGCC_PREPROCESSOR_DEFINITIONS
The text was updated successfully, but these errors were encountered: