Opened 19 years ago
Closed 19 years ago
#71 closed defect (fixed)
libc: Incorrect fmutex padding in FILE
Reported by: | bird | Owned by: | bird |
---|---|---|---|
Priority: | normal | Milestone: | libc-0.6.1 |
Component: | libc | Version: | 0.6 |
Severity: | normal | Keywords: | _fcloseall fmutex FILE |
Cc: |
Description (last modified by )
_fcloseall (and probably others) fails (crashes) because of the __u.__rsem_ersatz member of FILE is 4 bytes too small. Thanks to froloff for pointing out the crash.
Change History (1)
comment:1 by , 19 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Added testcase for both fcloseall and the padding (fcloseall-1.c), and fixed the problem.