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:
4f5aafb
)
[kdbus] Set error when we can't read filter parameters
author
Lukasz Skalski
<l.skalski@samsung.com>
Tue, 5 May 2015 10:42:57 +0000
(10:42 +0000)
committer
Maciej Wereski
<m.wereski@partner.samsung.com>
Fri, 10 Jul 2015 09:47:45 +0000
(11:47 +0200)
gio/gkdbus.c
patch
|
blob
|
history
diff --git
a/gio/gkdbus.c
b/gio/gkdbus.c
index
7127130
..
499c846
100644
(file)
--- a/
gio/gkdbus.c
+++ b/
gio/gkdbus.c
@@
-764,6
+764,15
@@
_g_kdbus_Hello (GKDBusWorker *worker,
worker->bloom_size = (gsize) bloom->size;
worker->bloom_n_hash = (guint) bloom->n_hash;
}
+ else
+ {
+ g_set_error_literal (error,
+ G_IO_ERROR,
+ G_IO_ERROR_FAILED,
+ _("Can't read bloom filter parameters"));
+ return NULL;
+ }
+
return g_variant_new ("(s)", worker->unique_name);
}