summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorGiles Lean <giles@nemeton.com.au>1997-05-05 23:46:37 +1000
committerChip Salzenberg <chip@atlantic.net>1997-05-08 00:00:00 +1200
commit229e211d257ba41610a1ec7a44c71df962201eb5 (patch)
tree14df61c6478b5b1faa5bde187a50f4c886f2bff2 /hints
parent879742f685c2774bddf646722e69236d1357a983 (diff)
downloadperl-229e211d257ba41610a1ec7a44c71df962201eb5.tar.gz
NetBSD hint update
There is a missing character in hints/netbsd.sh. Line 51 case "$osver" in should be case "$osvers" in Missing this case leads to the functions setregid() setreuid() setrgid() setruid() being used, leading to a security problem on all released versions of NetBSD. p5p-msgid: 199705051346.XAA13584@topaz.nemeton.com.au
Diffstat (limited to 'hints')
-rw-r--r--hints/netbsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/netbsd.sh b/hints/netbsd.sh
index d14dd0b3df..c508815a46 100644
--- a/hints/netbsd.sh
+++ b/hints/netbsd.sh
@@ -48,7 +48,7 @@ esac
# ($<, $>) = ($u, $u); will work (same for $(/$)). this is because
# you can not change the real userid of a process under 4.4BSD.
# netbsd fixed this in 1.2A.
-case "$osver" in
+case "$osvers" in
0.9*|1.0*|1.1*|1.2_*|1.2|1.2.*)
d_setregid="$undef"
d_setreuid="$undef"