pandoc-php icon indicating copy to clipboard operation
pandoc-php copied to clipboard

Add timeout parameter

Open chinapedia opened this issue 5 years ago • 0 comments

From https://pandoc.org/MANUAL.html#a-note-on-security

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.

chinapedia avatar May 04 '19 01:05 chinapedia