From 7c893e3541db2fa27e6dd5b90498b5b3e95e1dd6 Mon Sep 17 00:00:00 2001 From: Jason Self Date: Fri, 27 Jul 2018 18:28:13 -0700 Subject: [PATCH] as31: update type of sizebuf variables This avoids segfaults. This is imported from version 2.3.1-7 of the Debian package in the file update_sizebuf_types.patch. Corresponding Debian bug is #887320. --- as31/as31/run.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/as31/as31/run.c b/as31/as31/run.c index 9e5263b..6010ee8 100644 --- a/as31/as31/run.c +++ b/as31/as31/run.c @@ -34,10 +34,10 @@ int run_as31(const char *infile, int lst, int use_stdout, FILE* finPre; char tmpName[256]; char *lineBuffer=NULL; - int sizeBuf=0; + long unsigned int sizeBuf=0; char *includePtr=NULL; char *incLineBuffer=NULL; - int incSizeBuf=0; + long unsigned int incSizeBuf=0; FILE* includeFile=NULL; int fd; -- 2.25.1