mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 22:59:16 +02:00
Fix too small array definition in gio/gdummyfile.c (no room for the '\0')
This commit is contained in:
parent
5ec3a425d2
commit
6888f9e17e
@ -683,7 +683,7 @@ g_string_append_encoded (GString *string,
|
|||||||
const char *reserved_chars_allowed)
|
const char *reserved_chars_allowed)
|
||||||
{
|
{
|
||||||
unsigned char c;
|
unsigned char c;
|
||||||
static const gchar hex[16] = "0123456789ABCDEF";
|
static const gchar hex[] = "0123456789ABCDEF";
|
||||||
|
|
||||||
while ((c = *encoded) != 0)
|
while ((c = *encoded) != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user