Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/getrandom-fallback.c: Fix 'OVERRUN' found by Covscan.
CWE-119: Out-of-bounds access to a buffer (OVERRUN) overrun-buffer-arg: Calling memset with buf and buflen is suspicious because of the very large index, 9223372036854775807. The index may be due to a negative parameter being interpreted as unsigned. Limiting buflen to INT16_MAX is big enough for our purposes.
- Loading branch information