summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdate/tst_qdate.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-06-28 22:28:48 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-06-28 22:28:48 (GMT)
commite851be3ae78b54cd5b0391436563dcc81c6e8817 (patch)
tree5b0172415f238dee4414afa6762b73a48b4bf193 /tests/auto/qdate/tst_qdate.cpp
parent0ba6f323f310f982fa96da69fd3fd02e202a042b (diff)
downloadQt-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 'tests/auto/qdate/tst_qdate.cpp')
0 files changed, 0 insertions, 0 deletions