Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/usr.bin/groff/nroff Fix PR security/8069 differently:
details: https://anonhg.NetBSD.org/src/rev/87a1272bdbd7
branches: trunk
changeset: 474931:87a1272bdbd7
user: tron <tron%NetBSD.org@localhost>
date: Mon Jul 26 19:31:56 1999 +0000
description:
Fix PR security/8069 differently:
Add a new option "-S" to "nroff" and use "nroff -S" instead of "groff -S"
because "nroff" adds some other (moderately useful and important) options
to the "groff" execution.
diffstat:
gnu/usr.bin/groff/nroff/nroff.1 | 4 ++++
gnu/usr.bin/groff/nroff/nroff.sh | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 6735d0f28be0 -r 87a1272bdbd7 gnu/usr.bin/groff/nroff/nroff.1
--- a/gnu/usr.bin/groff/nroff/nroff.1 Mon Jul 26 19:31:54 1999 +0000
+++ b/gnu/usr.bin/groff/nroff/nroff.1 Mon Jul 26 19:31:56 1999 +0000
@@ -74,6 +74,10 @@
.B \-r
options have the effect described in
.BR troff (1).
+The
+.BR \-S
+option has the effect described in
+.BR groff (1).
In addition
.B nroff
silently ignores options of
diff -r 6735d0f28be0 -r 87a1272bdbd7 gnu/usr.bin/groff/nroff/nroff.sh
--- a/gnu/usr.bin/groff/nroff/nroff.sh Mon Jul 26 19:31:54 1999 +0000
+++ b/gnu/usr.bin/groff/nroff/nroff.sh Mon Jul 26 19:31:56 1999 +0000
@@ -24,7 +24,7 @@
echo "$prog: option $1 requires an argument" >&2
exit 1
;;
- -i|-[mrno]*)
+ -S|-i|-[mrno]*)
opts="$opts $1";
;;
Home |
Main Index |
Thread Index |
Old Index