mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 06:33:41 +02:00
Fix too small array definition in glib/guri.c (no room for the '\0')
This commit is contained in:
committed by
Loïc Le Page
parent
bdf1a0ba80
commit
eb961b02d6
@@ -422,7 +422,7 @@ _uri_encoder (GString *out,
|
||||
const gchar *reserved_chars_allowed,
|
||||
gboolean allow_utf8)
|
||||
{
|
||||
static const gchar hex[16] = "0123456789ABCDEF";
|
||||
static const gchar hex[] = "0123456789ABCDEF";
|
||||
const guchar *p = start;
|
||||
const guchar *end = p + length;
|
||||
|
||||
|
Reference in New Issue
Block a user