shithub: pdffs

Download patch

ref: 587d06e3038682fd20fad2ef53ffcfc8cd2b5558
parent: 838c584a7ad08d8650ea8204e3f069fd8adf96ce
author: Noam Preil <[email protected]>
date: Wed Apr 20 18:24:52 EDT 2022

pdfstring: fix parsing of (<)

--- a/string.c
+++ b/string.c
@@ -66,7 +66,7 @@
 
 		switch(c){
 		case '<':
-			if(sz == 0){
+			if(sz == 0 && paren == 0){
 				Sungetc(stream);
 				return stringhex(stream);
 			}