[Bug libc/26648] New: mkstemp is likely to fail on systems with non-stricly-monotonic clocks

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Tue Sep 22 13:14:39 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=26648

            Bug ID: 26648
           Summary: mkstemp is likely to fail on systems with
                    non-stricly-monotonic clocks
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
             Flags: security-

Since commit e1df30fbc2e2167a982c0e77a7ebee28f4dd0800 ("Get new entropy on each
attempt __gen_tempname (BZ #15813)"), __gen_tempname may not produce new names
on systems with strange clocks. This causes mkstemp to fail with EEXIST.

See bug 15813 comment 6.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list