Merge "Add a security warning to PdfRenderer doc." into nyc-dev
am: e5bbff8 * commit 'e5bbff846e5dce0e583050deebb24670f1bc65ba': Add a security warning to PdfRenderer doc. Change-Id: Ia1f24099ff2eb3497199caf2520b80bd7d7f879d
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user