D6523: check Buffer validity

Marco Martin noreply at phabricator.kde.org
Thu Jul 6 09:52:35 UTC 2017


mart created this revision.
Restricted Application added projects: Plasma on Wayland, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  if a plasma theme doesn't provide shadow graphics,
  the buffer will be a nullptr as would be created
  from an invalid image and would crash
  
  BUG:381953

TEST PLAN
  no crash anymore when using a theme that doesn't provide shadows

REPOSITORY
  R127 KWayland

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D6523

AFFECTED FILES
  src/client/shadow.cpp

To: mart, #plasma
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170706/888d5749/attachment.html>


More information about the Plasma-devel mailing list