HomeFreeBSD

lib/libc/gen/realpath_test: make check result from getcwd(3)

Description

lib/libc/gen/realpath_test: make check result from getcwd(3)

This is being done to avoid dereferencing a NULL pointer via strlcat,
obscuring the underlying issue with the getcwd(3) call.

MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

Details

Provenance
ngieAuthored on
Parents
rS318314: Add information to open(2) man page about the O_VERIFY flag.
Branches
Unknown
Tags
Unknown