]> git.pld-linux.org Git - packages/texinfo.git/blob - texinfo-segv.patch
825d8a89e4edaeb70174dd79aa2032e398695fd3
[packages/texinfo.git] / texinfo-segv.patch
1 --- texinfo-4.13/makeinfo/sectioning.c.org      2008-11-03 23:01:26.957799459 +0100
2 +++ texinfo-4.13/makeinfo/sectioning.c  2008-11-03 23:02:10.180927044 +0100
3 @@ -256,14 +256,14 @@
4      return xstrdup ("");
5    else if (enum_marker == APPENDIX_MAGIC)
6      {
7 -      char s[1];
8 +      char s[2];
9        sprintf (s, "%c", numbers[0] + 64);
10        return xstrdup (s);
11      }
12    else
13      {
14        char s[5];
15 -      sprintf (s, "%d", numbers[0]);
16 +      sprintf (s, "%4d", numbers[0]);
17        return xstrdup (s);
18      }
19  }
This page took 0.025419 seconds and 2 git commands to generate.