mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +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,
|
const gchar *reserved_chars_allowed,
|
||||||
gboolean allow_utf8)
|
gboolean allow_utf8)
|
||||||
{
|
{
|
||||||
static const gchar hex[16] = "0123456789ABCDEF";
|
static const gchar hex[] = "0123456789ABCDEF";
|
||||||
const guchar *p = start;
|
const guchar *p = start;
|
||||||
const guchar *end = p + length;
|
const guchar *end = p + length;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user