projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73fb194
)
glib-init: fix obvious buffer size mismatch
author
Ryan Lortie
<desrt@desrt.ca>
Wed, 14 Mar 2012 00:08:01 +0000
(20:08 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Wed, 14 Mar 2012 00:15:21 +0000
(20:15 -0400)
glib/glib-init.c
patch
|
blob
|
history
diff --git
a/glib/glib-init.c
b/glib/glib-init.c
index
d5e8242
..
a03e918
100644
(file)
--- 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[
8
0];
+ gchar buffer[
10
0];
if (GetEnvironmentVariable (envvar, buffer, 100) < 100)
value = buffer;