mirror of https://git.musl-libc.org/git/musl
Browse Source
use current time in nanoseconds and some potentially-random (if aslr is enabled) pointer values for the initial tempfile name generation, and step via a cheap linear prng on collisions. limit the number of retry attempts to prevent denial of service attacks even if an attacker can guess the filenames.rs-1.0
3 changed files with 21 additions and 16 deletions
Loading…
Reference in new issue