shithub: pdffs

Download patch

ref: d1a98f52a81b08b68e9cbb0e78c166f62c936690
parent: d40e02af6cd8d0c9c3453e17012452c0928b51d5
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Nov 22 14:29:14 EST 2020

ascii85 filter: drain the input buffer

--- a/f_ascii85.c
+++ b/f_ascii85.c
@@ -25,6 +25,7 @@
 		bufput(bo, (uchar*)&x+1, 1);
 		bufput(bo, (uchar*)&x+0, 1);
 	}
+	bi->off = bi->sz;
 
 	return 0;
 }