From 3d043dacc35940eaf3d52caecbb56e4564d87100 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" <pesco@khjk.org> Date: Tue, 14 Mar 2023 17:06:55 +0000 Subject: [PATCH] comment --- pdf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pdf.c b/pdf.c index 6502f70..f773872 100644 --- a/pdf.c +++ b/pdf.c @@ -4371,6 +4371,7 @@ process_page_content(struct Env *aux) trailer = H_INDEX(Dict, tok, 1); /* fetch Size (a required field) from the trailer dictionary */ + // XXX validate the presence of this field elsewhere tok = dictentry(trailer, "Size"); if (tok == NULL || tok->token_type != TT_SINT) { log_message(5, "VIOLATION[5]: error parsing trailer section!" -- GitLab