HomeFreeBSD

MFC r311284:

Description

MFC r311284:

Fix bug that would result in a kernel crash in some cases involving
a symlink and an autofs mount request. The crash was caused by namei()
calling bcopy() with a negative length, caused by numeric underflow:
in lookup(), in the relookup path, the ni_pathlen was decremented too
many times. The bug was introduced in r296715.

Big thanks to Alex Deiter for his help with debugging this.

Details

Provenance
traszAuthored on
Parents
rS315518: Avoid unnecessary calls to vm_map_protect() in elf_load_section().
Branches
Unknown
Tags
Unknown