projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca4c4f
)
gdbus: return if method signature is malformed
author
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Thu, 17 May 2012 18:19:58 +0000
(15:19 -0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 18 May 2012 02:58:13 +0000
(19:58 -0700)
gdbus/object.c
patch
|
blob
|
history
diff --git
a/gdbus/object.c
b/gdbus/object.c
index
8bc12f5
..
7a94156
100644
(file)
--- a/
gdbus/object.c
+++ b/
gdbus/object.c
@@
-107,6
+107,10
@@
static void print_arguments(GString *gstr, const char *sig,
break;
}
+ if (!complete) {
+ error("Unexpected signature: %s", sig);
+ return;
+ }
if (direction)
g_string_append_printf(gstr,