Merge "Add a security warning to PdfRenderer doc." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e5bbff846e
@@ -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