[glib] glib-init: fix obvious buffer size mismatch
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] glib-init: fix obvious buffer size mismatch
- Date: Wed, 14 Mar 2012 00:15:30 +0000 (UTC)
commit 063f03fa761fe2e341e32ebec6ed7ff6732b5bb1
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Mar 13 20:08:01 2012 -0400
glib-init: fix obvious buffer size mismatch
glib/glib-init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/glib-init.c b/glib/glib-init.c
index d5e8242..a03e918 100644
--- a/glib/glib-init.c
+++ b/glib/glib-init.c
@@ -165,7 +165,7 @@ g_parse_debug_envvar (const gchar *envvar,
#ifdef OS_WIN32
/* "fatal-warnings,fatal-criticals,all,help" is pretty short */
- gchar buffer[80];
+ gchar buffer[100];
if (GetEnvironmentVariable (envvar, buffer, 100) < 100)
value = buffer;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]