HomeFreeBSD

xinstall: plug an infinite loop in directory creation

Description

xinstall: plug an infinite loop in directory creation

If stat continues to fail with ENOENT and mkdir with EEXIST the code wont
finish. In particular this can show up when the target path follows through
a symlink to a non-existent directory.

Reported by: ae
MFC after: 1 week

Details

Provenance
mjgAuthored on Oct 12 2017, 1:59 PM
Parents
rG9aaf913e1325: When unmounting a tmpfs, do not call free_unr.
Branches
Unknown
Tags
Unknown

Event Timeline