[pulseaudio-discuss] [PATCH v2] pactl: Fix crash with older servers
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Fri Mar 28 05:54:13 PDT 2014
On Wed, 2014-03-19 at 09:18 +0200, Tanu Kaskinen wrote:
> Servers older than 0.9.15 don't know anything about cards, and card
> operations will return a NULL pa_operation object when connected to
> that old server. We must check the pa_operation pointer before passing
> it to pa_operation_unref(), otherwise a NULL operation will result in
> a crash.
> ---
> src/utils/pactl.c | 206 ++++++++++++++++++++++++++++++++++++------------------
> 1 file changed, 137 insertions(+), 69 deletions(-)
I pushed this now.
--
Tanu
More information about the pulseaudio-discuss
mailing list