From 06004d6a92170fefa5c9152b177b6a8e577055d2 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Wed, 28 Jan 2015 22:03:04 +0100 Subject: [PATCH] Make sure that an A entry in an annotation dictionary is also a dictionary itself --- src/core/annotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/annotation.js b/src/core/annotation.js index 06ba73ab01722..bd4fed8917350 100644 --- a/src/core/annotation.js +++ b/src/core/annotation.js @@ -485,7 +485,7 @@ var LinkAnnotation = (function LinkAnnotationClosure() { data.annotationType = AnnotationType.LINK; var action = dict.get('A'); - if (action) { + if (action && isDict(action)) { var linkType = action.get('S').name; if (linkType === 'URI') { var url = action.get('URI');