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

This commit is contained in:
Loic Le Page 2022-01-19 19:05:57 +01:00 committed by Loïc Le Page
parent d5580edfa7
commit 112ad3d591

View File

@ -1420,7 +1420,7 @@ static const guchar acceptable[96] = {
0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x20,0x20,0x20,0x3F,0x20 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x20,0x20,0x20,0x3F,0x20
}; };
static const gchar hex[16] = "0123456789ABCDEF"; static const gchar hex[] = "0123456789ABCDEF";
/* Note: This escape function works on file: URIs, but if you want to /* Note: This escape function works on file: URIs, but if you want to
* escape something else, please read RFC-2396 */ * escape something else, please read RFC-2396 */