aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 8fb514f78fb..f929a37271b 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1814,7 +1814,7 @@ static char const string_overrun_cookie[GC_STRING_OVERRUN_COOKIE_SIZE] =
1814#define GC_STRING_EXTRA (GC_STRING_OVERRUN_COOKIE_SIZE) 1814#define GC_STRING_EXTRA (GC_STRING_OVERRUN_COOKIE_SIZE)
1815 1815
1816/* Exact bound on the number of bytes in a string, not counting the 1816/* Exact bound on the number of bytes in a string, not counting the
1817 terminating null. A string cannot contain more bytes than 1817 terminating NUL. A string cannot contain more bytes than
1818 STRING_BYTES_BOUND, nor can it be so long that the size_t 1818 STRING_BYTES_BOUND, nor can it be so long that the size_t
1819 arithmetic in allocate_string_data would overflow while it is 1819 arithmetic in allocate_string_data would overflow while it is
1820 calculating a value to be passed to malloc. */ 1820 calculating a value to be passed to malloc. */