Fix too small array definition in gio/gdummyfile.c (no room for the '\0')

This commit is contained in:
Loic Le Page 2022-01-19 19:05:34 +01:00 committed by Philip Withnall
parent 5ec3a425d2
commit 6888f9e17e

View File

@ -683,7 +683,7 @@ g_string_append_encoded (GString *string,
const char *reserved_chars_allowed)
{
unsigned char c;
static const gchar hex[16] = "0123456789ABCDEF";
static const gchar hex[] = "0123456789ABCDEF";
while ((c = *encoded) != 0)
{