summaryrefslogtreecommitdiff
path: root/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch')
-rw-r--r--net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch b/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch
new file mode 100644
index 000000000000..83723612dfc4
--- /dev/null
+++ b/net-voip/telepathy-salut/files/telepathy-salut-0.5.0-uninitialized.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/ext/wocky/wocky/wocky-sasl-scram.c b/lib/ext/wocky/wocky/wocky-sasl-scram.c
+index 7261956..c508196 100644
+--- a/lib/ext/wocky/wocky/wocky-sasl-scram.c
++++ b/lib/ext/wocky/wocky/wocky-sasl-scram.c
+@@ -523,7 +523,7 @@ scram_handle_server_final_message (WockySaslScram *self,
+ gchar *message,
+ GError **error)
+ {
+- gchar attr, *value = NULL;
++ gchar attr = 0, *value = NULL;
+
+ if (!scram_get_next_attr_value (&message, &attr, &value) && attr != 'v')
+ goto invalid;