projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GSocks5Proxy: don't crash if parsing negotiation reply fails
[platform/upstream/glib.git]
/
gio
/
gsocks5proxy.c
diff --git
a/gio/gsocks5proxy.c
b/gio/gsocks5proxy.c
index
9d9055f
..
0d6269e
100644
(file)
--- a/
gio/gsocks5proxy.c
+++ b/
gio/gsocks5proxy.c
@@
-708,7
+708,7
@@
nego_reply_read_cb (GObject *source,
if (data->offset == data->length)
{
- GError *error;
+ GError *error
= NULL
;
gboolean must_auth = FALSE;
gboolean has_auth = data->username || data->password;