pdf.js/test/unit
Jonas Jenwald 995e1a45b8 Ensure that Lexer_getName does not fail if a Name contains in invalid usage of the NUMBER SIGN (#) (issue 6692)
*This is a regression from PR 3424.*

The PDF file in the referenced issue is using `Type3` fonts. In one of those, the `/CharProcs` dictionary contains an entry with the name `/#`. Before the changes to `Lexer_getName` in PR 3424, we were allowing certain invalid `Name` patterns containing the NUMBER SIGN (#).

It's unfortunate that this has been broken for close to two and a half years before the bug surfaced, but it should at least indicate that this is not a widespread issue.

Fixes 6692.
2015-11-28 11:59:09 +01:00
..
annotation_layer_spec.js Refactor annotation flags code 2015-11-22 01:06:37 +01:00
api_spec.js Merge pull request #6209 from Rob--W/parallel-rendering 2015-11-25 22:51:15 +01:00
cmap_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
crypto_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
evaluator_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
font_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
function_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
metadata_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
obj_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
parser_spec.js Ensure that Lexer_getName does not fail if a Name contains in invalid usage of the NUMBER SIGN (#) (issue 6692) 2015-11-28 11:59:09 +01:00
stream_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
testreporter.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
ui_utils_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
unit_test.html Move text layer building logic into src/display/text_layer.js 2015-11-19 10:50:27 -06:00
util_spec.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30