D11807: AbstractModel: Check if index is valid in setData

David Rosca noreply at phabricator.kde.org
Fri Mar 30 14:17:10 UTC 2018


drosca created this revision.
drosca added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
drosca requested review of this revision.

REVISION SUMMARY
  It would crash in MapBase::objectAt if the index is not valid
  because it doesn't check the map bounds.

TEST PLAN
  Builds

REPOSITORY
  R115 Plasma Audio Volume Applet

BRANCH
  Plasma/5.12

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

AFFECTED FILES
  src/pulseaudio.cpp

To: drosca, #plasma
Cc: plasma-devel, ragreen, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180330/826c7c2b/attachment.html>


More information about the Plasma-devel mailing list