#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 |
Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.