summaryrefslogtreecommitdiff
path: root/source/pdf/js
diff options
context:
space:
mode:
authorSimon Bünzli <zeniko@gmail.com>2015-01-08 21:39:24 +0100
committerSimon Bünzli <zeniko@gmail.com>2015-01-20 20:55:58 +0100
commit3f7e3314739c91a170677954f160ee978eed76c7 (patch)
treea6e4330881f6ab60b7bc2a8ccb7f96ace5c835e0 /source/pdf/js
parent8fd4ad0a0ba69e5ab7d52b486073d050e3d8c29c (diff)
downloadmupdf-3f7e3314739c91a170677954f160ee978eed76c7.tar.xz
don't decode '8' and '9' as octal digits
At https://github.com/sumatrapdfreader/sumatrapdf/issues/66 there's a document which contains a string (\358) which is parsed as (\360) with the 8 overflowing instead of as (\0358) with the 8 being the first character after the octal escape. This patch restricts octal digits to '0' to '7' to fix that issue.
Diffstat (limited to 'source/pdf/js')
0 files changed, 0 insertions, 0 deletions