[pulseaudio-discuss] [PATCH] module-stream-restore: With dbus-proto fix segfault if e->device is NULL.
Tanu Kaskinen
tanuk at iki.fi
Fri Apr 29 12:53:56 UTC 2016
On Tue, 2016-04-26 at 16:11 +0300, Juho Hämäläinen wrote:
> If first part of test is false and e->device is NULL pa_streq will
> segfault. Fix by using pa_safe_streq, which checks strings for NULL
> before doing strcmp.
> ---
> src/modules/module-stream-restore.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks! Applied.
--
Tanu
More information about the pulseaudio-discuss
mailing list