diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-11-15 10:10:40 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-11-15 10:10:40 -0800 |
commit | 2347babbf0d93d1025cb822d55255dfcd8cb3e57 (patch) | |
tree | 543cf02c86c98cd09a7fb10698ca1ee99e480f17 | |
parent | f393f4ba10a274ccffa164b75f03ae3a893fa2cc (diff) | |
download | pandoc-2347babbf0d93d1025cb822d55255dfcd8cb3e57.tar.gz |
MANUAL: Under security, added note about +RTS option to limit heap size.
See #5047.
-rw-r--r-- | MANUAL.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 23725a4c9..7f80e4d3d 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -4885,6 +4885,9 @@ application, here are some things to keep in mind: 3. Pandoc's parsers can exhibit pathological performance on some corner cases. It is wise to put any pandoc operations under a timeout, to avoid DOS attacks that exploit these issues. + If you are using the pandoc executable, you can add the + command line options `+RTS -M512M -RTS` (for example) to limit + the heap size to 512MB. 4. The HTML generated by pandoc is not guaranteed to be safe. If `raw_html` is enabled for the Markdown input, users can |