diff options
-rw-r--r-- | pdf/pdf_font1C.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_font1C.c b/pdf/pdf_font1C.c index e688de4ba..b1bd30318 100644 --- a/pdf/pdf_font1C.c +++ b/pdf/pdf_font1C.c @@ -693,7 +693,7 @@ pdfi_read_cff_real(byte *p, byte *e, float *val) /* b0 was 30 */ - while (txt < buf + (sizeof buf) - 3 && p < e) { + while (txt < buf + (sizeof buf) - 5 && p < e) { int b, n; b = *p++; |