summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qmessagebox.h
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 /src/gui/dialogs/qmessagebox.h
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 'src/gui/dialogs/qmessagebox.h')
0 files changed, 0 insertions, 0 deletions