summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-27 23:40:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-27 23:40:19 +0000
commitd12c35edfd44311ebd716c807ea9f72efa660337 (patch)
tree25bf441b641c3c291192faed5b50e573572513d4 /mandoc.1
parente60121aa36205c920bf51da52a8b1ca357beb594 (diff)
downloadmandoc-d12c35edfd44311ebd716c807ea9f72efa660337.tar.gz
Downgrade .Bd -file from FATAL to ERROR.
Since this was the last remaining FATAL error in this area, this change will allow major simplifications in the mdoc(7) parser.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.122
1 files changed, 11 insertions, 11 deletions
diff --git a/mandoc.1 b/mandoc.1
index fc6eb2d4..e349fcb0 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1396,6 +1396,17 @@ The indicated request or macro has too few or too many arguments.
The syntax tree will contain the wrong number of arguments as given.
Formatting behaviour depends on the specific request or macro in question.
Note that the same message may also occur as a WARNING, see above.
+.It Sy "NOT IMPLEMENTED: Bd -file"
+.Pq mdoc
+For security reasons, the
+.Ic \&Bd
+macro does not support the
+.Fl file
+argument.
+By requesting the inclusion of a sensitive file, a malicious document
+might otherwise trick a privileged user into inadvertently displaying
+the file on the screen, revealing the file content to bystanders.
+The argument is ignored including the file name following it.
.It Sy "missing list type, using -item"
.Pq mdoc
A
@@ -1484,17 +1495,6 @@ cannot handle input files larger than its arbitrary size limit
of 2^31 bytes (2 Gigabytes).
Since useful manuals are always small, this is not a problem in practice.
Parsing is aborted as soon as the condition is detected.
-.It Sy "NOT IMPLEMENTED: Bd -file"
-.Pq mdoc
-For security reasons, the
-.Ic \&Bd
-macro does not support the
-.Fl file
-argument.
-By requesting the inclusion of a sensitive file, a malicious document
-might otherwise trick a privileged user into inadvertently displaying
-the file on the screen, revealing the file content to bystanders.
-The parser exits immediately.
.It Sy "NOT IMPLEMENTED: .so with absolute path or \(dq..\(dq"
.Pq roff
For security reasons,