projects
/
linux-libre-firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4934781
)
as31: update type of sizebuf variables
author
Jason Self
<j@jxself.org>
Sat, 28 Jul 2018 01:28:13 +0000
(18:28 -0700)
committer
Jason Self
<j@jxself.org>
Sat, 28 Jul 2018 01:28:13 +0000
(18:28 -0700)
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
patch
|
blob
|
history
diff --git
a/as31/as31/run.c
b/as31/as31/run.c
index 9e5263b08ffc4794c921ac964b0f5187825f80a8..6010ee8c4ae89591a2eb3ef21c9990ba0d428989 100644
(file)
--- 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;