projects
/
platform
/
upstream
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6263d03
)
srfi-14: Fix possible buffer overrun in '%char-set-dump'.
author
Ludovic Courtès
<ludo@gnu.org>
Thu, 20 Jun 2019 09:34:46 +0000
(11:34 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Thu, 20 Jun 2019 09:34:46 +0000
(11:34 +0200)
* libguile/srfi-14.c (scm_sys_char_set_dump): Change array size from 9
to 11 as suggested by GCC 9.1.0.
libguile/srfi-14.c
patch
|
blob
|
history
diff --git
a/libguile/srfi-14.c
b/libguile/srfi-14.c
index a4d71e8eb53afb1092089d628f8637d80a780709..52d5a40eebcf00cbf0fa0c2edf9b71be7486dfcf 100644
(file)
--- a/
libguile/srfi-14.c
+++ b/
libguile/srfi-14.c
@@
-2038,7
+2038,7
@@
SCM_DEFINE (scm_sys_char_set_dump, "%char-set-dump", 1, 0, 0, (SCM charset),
SCM ranges = SCM_EOL, elt;
size_t i;
scm_t_char_set *cs;
- char codepoint_string_lo[
9], codepoint_string_hi[9
];
+ char codepoint_string_lo[
11], codepoint_string_hi[11
];
SCM_VALIDATE_SMOB (1, charset, charset);
cs = SCM_CHARSET_DATA (charset);