Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d0d1417 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Add a security warning to PdfRenderer doc.

Change-Id: Ia714d312665179366adae8e1923e4b9c339ebb59
parent cad56c47
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -129,6 +129,10 @@ public final class PdfRenderer implements AutoCloseable {
     * <strong>Note:</strong> This class takes ownership of the passed in file descriptor
     * and is responsible for closing it when the renderer is closed.
     * </p>
     * <p>
     * If the file is from an untrusted source it is recommended to run the renderer in a separate,
     * isolated process with minimal permissions to limit the impact of security exploits.
     * </p>
     *
     * @param input Seekable file descriptor to read from.
     *