[glib: 8/10] Fix too small array definition in glib/gconvert.c (no room for the '\0')
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 8/10] Fix too small array definition in glib/gconvert.c (no room for the '\0')
- Date: Fri, 18 Feb 2022 13:45:44 +0000 (UTC)
commit 112ad3d591caa40880f9ab236e19ca7d459b91f5
Author: Loic Le Page <llepage fluendo com>
Date: Wed Jan 19 19:05:57 2022 +0100
Fix too small array definition in glib/gconvert.c (no room for the '\0')
glib/gconvert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gconvert.c b/glib/gconvert.c
index cb0dcaa01..e51537881 100644
--- a/glib/gconvert.c
+++ b/glib/gconvert.c
@@ -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
};
-static const gchar hex[16] = "0123456789ABCDEF";
+static const gchar hex[] = "0123456789ABCDEF";
/* Note: This escape function works on file: URIs, but if you want to
* escape something else, please read RFC-2396 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]