Commit Diff


commit - 656f5a3f4d37e12933c4fd4b5bc0c9450ae60969
commit + 11e873cc864fe2d1d96d72b11374e34b553412b3
blob - 17cd59eb42975f68b8cbe53b45f81d5deee075b8
blob + f0eac27c4067b2d1ee299fb19f96960f7a934493
--- pdf.c
+++ pdf.c
@@ -4972,7 +4972,7 @@ parse_xrefs(const uint8_t *input, size_t sz, size_t *n
 	offset = H_INDEX_UINT(res->ast, 0);
 	if (offset > sz) {
 		log_message(5, "%s: startxref value at %zu (%#zx) points "
-		    "outside the file\n", sz - i, sz - i);
+		    "outside the file\n", infile, sz - i, sz - i);
 		goto end;
 	}