[PATCH] module-stream-restore: With dbus-proto fix segfault if e->device is NULL.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux