• R
    major improvements to temp file name generator · 446b4207
    Rich Felker 提交于
    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.
    446b4207
mkstemp.c 576 字节