mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Fix too small array definition in glib/guri.c (no room for the '\0')
This commit is contained in:
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user