diff options
author | 2015-10-05 07:09:46 +0000 | |
---|---|---|
committer | 2015-10-05 07:09:46 +0000 | |
commit | fc0cd8cb943fedf9e271ebd66105beb1d79efa77 (patch) | |
tree | fa57a4c5f1eefb9d412beb67178e1ffca52b8076 /usr.bin/diff3/diff3prog.c | |
parent | tame "stdio rpath" initially; if we find out the only file operated on (diff) | |
download | wireguard-openbsd-fc0cd8cb943fedf9e271ebd66105beb1d79efa77.tar.xz wireguard-openbsd-fc0cd8cb943fedf9e271ebd66105beb1d79efa77.zip |
Since the dawn of time, this has contained freopen() for the tty path
with mode "w", as root, since "w" implies O_CREAT. That will create
the raw file in /dev if it does not yet exist (due to a lie in utmp).
It should use "r+", to open it for for O_RDWR only.
Oh man this reminds me of 1988, how old is this bug?
ok doug
Diffstat (limited to 'usr.bin/diff3/diff3prog.c')
0 files changed, 0 insertions, 0 deletions