Opened 14 years ago

Closed 14 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

Description (last modified by bird)

_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 Changed 14 years ago by bird

Description: modified (diff)
Resolution: fixed
Status: newclosed

Added testcase for both fcloseall and the padding (fcloseall-1.c), and fixed the problem.

Note: See TracTickets for help on using tickets.