Some more debugging and a bug report regarding this issue: https://bugs.freedesktop.org/show_bug.cgi?id=101385
On Sun, Jun 11, 2017 at 1:51 PM, Jeroen Ooms <[email protected]> wrote: > If the user enters an incorrect password when reading a protected pdf via > document::load_from_raw_data() an error is printed to stdout > > error: Incorrect password > > However the load_from_raw_data() does not raise an exception and returns a > valid *document. However this document segfaults when we call for example > doc->pages(). > > I would have expected that load_from_raw_data() raises an exception instead > of just printing "incorrect password"? > > If this is intended, what property of *document should I check to see if > document::load_from_raw_data() was successful? > _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
