diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-27 23:40:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-27 23:40:19 +0000 |
commit | d12c35edfd44311ebd716c807ea9f72efa660337 (patch) | |
tree | 25bf441b641c3c291192faed5b50e573572513d4 /mandoc.1 | |
parent | e60121aa36205c920bf51da52a8b1ca357beb594 (diff) | |
download | mandoc-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.1 | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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, |