artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6155d73
)
Fix trivial stack buf oflow
author
miod
<miod@openbsd.org>
Thu, 12 Jan 2023 07:18:25 +0000
(07:18 +0000)
committer
miod
<miod@openbsd.org>
Thu, 12 Jan 2023 07:18:25 +0000
(07:18 +0000)
gnu/usr.bin/texinfo/makeinfo/sectioning.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/texinfo/makeinfo/sectioning.c
b/gnu/usr.bin/texinfo/makeinfo/sectioning.c
index
4353b99
..
9db0015
100644
(file)
--- a/
gnu/usr.bin/texinfo/makeinfo/sectioning.c
+++ b/
gnu/usr.bin/texinfo/makeinfo/sectioning.c
@@
-1,5
+1,5
@@
/* sectioning.c -- for @chapter, @section, ..., @contents ...
- $Id: sectioning.c,v 1.
1.1.3 2006/07/17 16:03:48 espie
Exp $
+ $Id: sectioning.c,v 1.
2 2023/01/12 07:18:25 miod
Exp $
Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
@@
-256,7
+256,7
@@
current_chapter_number (void)
return xstrdup ("");
else if (enum_marker == APPENDIX_MAGIC)
{
- char s[
1
];
+ char s[
2
];
sprintf (s, "%c", numbers[0] + 64);
return xstrdup (s);
}