Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#54 closed task (fixed)

libc: fchdir(open('.', O_RDONLY)) may corrupt path resolving

Reported by: bird Owned by: bird
Priority: normal Milestone: libc-0.6.2
Component: libc Version: 1.1
Severity: major Keywords: fchdir pathresolver opendir


dirOpen isn't initializing the fInUnixTree member, and a fchdir operation may then load garbage into the global flag and screw things up really badly.

Change History (1)

comment:1 Changed 14 years ago by bird

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.