projects/aports·blob master · refs

15 lines · 535 B

1https://github.com/sabotage-linux/gettext-tiny/issues/50
2
3We're losing the battle of the bulge; someone really should make this use malloc.
4
5--- gettext-tiny-0.3.1_git20191130/src/msgfmt.c.old 2020-01-14 08:03:11.000000000 +0000
6+++ gettext-tiny-0.3.1_git20191130/src/msgfmt.c 2020-01-21 18:58:28.257709860 +0000
7@@ -160,7 +160,7 @@
8
9 int process(FILE *in, FILE *out, bool strict) {
10 struct mo_hdr mohdr = def_hdr;
11- char line[8192]; char *lp;
12+ char line[12288]; char *lp;
13 size_t off, i;
14 enum po_error t;
15 char convbuf[32768];