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

Commit c430c2e9 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

Merge "Add a security warning to PdfRenderer doc." into nyc-dev

am: e5bbff84

* commit 'e5bbff84':
  Add a security warning to PdfRenderer doc.

Change-Id: Ie8cb3c4941d7903bae98bb9cfd29f37709c3c6f8
parents 859f932a e5bbff84
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.
     *