[Differential] [Request, 24 lines] D4402: Always check if context is valid when calling pa functions

David Rosca noreply at phabricator.kde.org
Thu Feb 2 09:06:00 UTC 2017


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

REVISION SUMMARY
  If pa_context is null, pulseaudio aborts.
  
  BUG: 375872

TEST PLAN
  I can't reproduce the crash myself, but from backtrace this
  should fix it.

REPOSITORY
  R115 Plasma Audio Volume Applet

BRANCH
  Plasma/5.8

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

AFFECTED FILES
  src/context.cpp
  src/context.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: drosca, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170202/07b9a800/attachment.html>


More information about the Plasma-devel mailing list