diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-10-05 18:53:11 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-10-05 20:09:32 +0100 |
commit | 87524fa1662578401c4fb21108bd6984afee7ce0 (patch) | |
tree | e3f71ae49d89e1cfea7fd1d9e68e8b46b62df3d6 /platform/android | |
parent | 9be02aade41637fc530774cf2f598a8f69f53bd0 (diff) | |
download | mupdf-87524fa1662578401c4fb21108bd6984afee7ce0.tar.xz |
Bug 697177: Avoid SEGV in Epub file.
Thanks to Vlad Glagolev for the example file, analysis and
patch.
We had failed to initialise the "last break class" value, so that
when we use it as an index into an array, we run the risk of
crashing.
The fix is simply to initialise it. By initialising it to OP
we don't allow any softbreaks to be added when it's uninitialised,
which feels right to me.
Diffstat (limited to 'platform/android')
0 files changed, 0 insertions, 0 deletions