aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit35236df1252d579e6191200dec1b9951e90ea1eb (patch)
tree3c94c84e9e3d1c94e8944d7a7c6a2bf9bdba0e77 /mandoc.1
parent712cc4fb3fddd80d9848fe07c23d27279b248c65 (diff)
downloadmandoc-35236df1252d579e6191200dec1b9951e90ea1eb.tar.gz
mandoc-35236df1252d579e6191200dec1b9951e90ea1eb.tar.zst
mandoc-35236df1252d579e6191200dec1b9951e90ea1eb.zip
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.126
1 files changed, 13 insertions, 13 deletions
diff --git a/mandoc.1 b/mandoc.1
index 5b66a40d..fdb705f7 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.123 2014/11/25 20:18:15 schwarze Exp $
+.\" $Id: mandoc.1,v 1.124 2014/11/27 23:40:19 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 25 2014 $
+.Dd $Mdocdate: November 27 2014 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -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,