[Differential] [Request, 3 lines] D1961: [server] Add resource check in QtExtendedSurfaceInterface::close
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Mon Jun 20 14:27:22 UTC 2016
graesslin created this revision.
graesslin added a reviewer: Plasma on Wayland.
Restricted Application added a subscriber: plasma-devel.
Restricted Application added a project: Plasma on Wayland.
REVISION SUMMARY
The QtExtendedSurfaceInterface might be unbound and thus the resource
might be null when calling into close. Thus we need to do a nullptr
check.
Hit a crash there.
TEST PLAN
Unfortunately no test case as we don't have a client side
implementation for this.
REPOSITORY
rKWAYLAND KWayland
BRANCH
surfaceextension-nullptr-check
REVISION DETAIL
https://phabricator.kde.org/D1961
AFFECTED FILES
src/server/qtsurfaceextension_interface.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #plasma_on_wayland
Cc: plasma-devel, jensreuterberg, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160620/f0ceb83e/attachment.html>
More information about the Plasma-devel
mailing list