MFS r352872: MFC r351802:
Correct overflow logic in fullpath().
Obtained from: OpenBSD Approved by: re (gjb)