summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-add.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-07-01 12:53:56 +0000
committerschwarze <schwarze@openbsd.org>2017-07-01 12:53:56 +0000
commitad164ce688ba9ce99067ca0b5b37c74fab277e74 (patch)
tree8bc42d1415bd4ccfe0ebbde45efa6c267c2ac020 /usr.bin/ssh/ssh-add.c
parentgo thru POSIX::Termios to turn off kerninfo. (diff)
downloadwireguard-openbsd-ad164ce688ba9ce99067ca0b5b37c74fab277e74.tar.xz
wireguard-openbsd-ad164ce688ba9ce99067ca0b5b37c74fab277e74.zip
When checking cross references with -Tlint, ultimately fall back to
looking in the current working directory. Not a security issue because the files are never open(2)ed, only access(2)ed. Requested by jmc@ and inspired by mdoclint(1). This cannot be perfect because it only works for files having the exact filename ./pagename.sec - mandoc has no way to figure out which files might contain a manual for multiple names, or that files in autohell might be called ./pagename.man.in instead, or which subdirectories might contain additional source files. Also, it may hide messages if you have bogus stuff lying around in the directory where you run mandoc -Tlint. But jmc@ considers it important, and good enough for everyday use. Also avoid leaking the memory for the file name while here.
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
0 files changed, 0 insertions, 0 deletions