Re: [pulseaudio-discuss] [PATCH v5 16/39] bluetooth: Protect from a misbehaving bluetoothd

2013-10-01 Thread João Paulo Rechi Vita
On Sun, Sep 29, 2013 at 9:56 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: On Tue, 2013-09-24 at 19:45 -0300, jprv...@gmail.com wrote: @@ -745,6 +748,15 @@ static void parse_interfaces_and_properties(pa_bluetooth_discovery *y, DBusMessa dbus_message_iter_next(element_i);

Re: [pulseaudio-discuss] [PATCH v5 16/39] bluetooth: Protect from a misbehaving bluetoothd

2013-09-29 Thread Tanu Kaskinen
On Tue, 2013-09-24 at 19:45 -0300, jprv...@gmail.com wrote: @@ -745,6 +748,15 @@ static void parse_interfaces_and_properties(pa_bluetooth_discovery *y, DBusMessa dbus_message_iter_next(element_i); } +PA_HASHMAP_FOREACH(d, y-devices, state) +if (!d-adapter

[pulseaudio-discuss] [PATCH v5 16/39] bluetooth: Protect from a misbehaving bluetoothd

2013-09-24 Thread jprvita
From: João Paulo Rechi Vita jprv...@gmail.com bluetoothd always send the GetManagedObjects() reply messages with the objects array argument following an in-depth order starting from the root. That means parents will always be known at the time their children objects are parsed, if clients parse