diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-28 22:28:48 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-28 22:28:48 (GMT) |
commit | e851be3ae78b54cd5b0391436563dcc81c6e8817 (patch) | |
tree | 5b0172415f238dee4414afa6762b73a48b4bf193 /src/sql | |
parent | 0ba6f323f310f982fa96da69fd3fd02e202a042b (diff) | |
download | Qt-e851be3ae78b54cd5b0391436563dcc81c6e8817.zip Qt-e851be3ae78b54cd5b0391436563dcc81c6e8817.tar.gz Qt-e851be3ae78b54cd5b0391436563dcc81c6e8817.tar.bz2 |
Don't crash in libdbus-1 because of invalid parameters.
Some QDBusAbstractInterface can have empty paths or service names, for
wildcard purposes. If someone tries to make a call using those
interfaces, the application crashes.
So check for the invalid conditions and don't make the call. If we
return 0 here, the message-sending code will generate an error in
QDBusConnectionPrivate.
Reviewed-by: TrustMe
Diffstat (limited to 'src/sql')
0 files changed, 0 insertions, 0 deletions