[pulseaudio-tickets] [Bug 88970] New: NameOwnerChanged handlers shouldn't assume that the bus is behaving correctly
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 4 08:18:40 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88970
Bug ID: 88970
Summary: NameOwnerChanged handlers shouldn't assume that the
bus is behaving correctly
Product: PulseAudio
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Keywords: love
Severity: normal
Priority: medium
Component: modules
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: tanuk at iki.fi
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
Our policy is that we don't trust any external processes to behave correctly.
This means that PulseAudio shouldn't crash or leak memory if some other process
does something unexpected.
NameOwnerChanged handlers, at least in bluez5-util and backend-ofono, assume
that the bus daemon is behaving correctly, i.e. that the old name passed via
the signal really is the old name. We should remember the owner name ourselves,
and complain loudly if the bus daemon disagrees about the old name.
Validating the old name is important, because if the bus incorrectly claims
that there was no prior owner (the old owner is an empty string), we should
clean up our state that we had for the old owner, but currently we don't.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150204/71707135/attachment.html>
More information about the pulseaudio-bugs
mailing list