When we get a bogus file bbox() may be null and accessing it will crash the thumbnailer.
CHANGELOG: Fixed crash when trying to generate a thumbnail for bogus .eps files
BUG: 399896
FIXED-IN: 18.08.3
pino | |
aacid | |
ngraham | |
sitter |
When we get a bogus file bbox() may be null and accessing it will crash the thumbnailer.
CHANGELOG: Fixed crash when trying to generate a thumbnail for bogus .eps files
BUG: 399896
FIXED-IN: 18.08.3
No longer crashes when using the provided test file in the bug report
PDFs and genuine PS files are still generated correctly
There's still a chance that previewType becomes CDSC_EPSI and then we access bbox again but not sure how likely that ancient code is to set a type when it failed to analyze it.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |