gdbus: return if method signature is malformed

This commit is contained in:
Lucas De Marchi 2012-05-17 15:19:58 -03:00 committed by Marcel Holtmann
parent 25268b4270
commit a77fcca3c6
1 changed files with 4 additions and 0 deletions

View File

@ -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,