Ticket #54 (closed task: fixed)

Opened 7 years ago

Last modified 7 years ago

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.

Change History

comment:1 Changed 7 years ago by bird

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.