[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] card-restore: prevent segfault caused by 'restore_bluetooth_profile=true'
Georg Chini
gitlab at gitlab.freedesktop.org
Mon Dec 9 07:08:23 UTC 2019
Georg Chini pushed to branch master at PulseAudio / pulseaudio
Commits:
b94dba9d by Marc Ranolfi at 2019-12-08T04:24:13Z
card-restore: prevent segfault caused by 'restore_bluetooth_profile=true'
This fixes an oversight introduced in 1f45082c which ultimately causes a segfault error in 'add_key_value()' from 'modargs.c'.
Closes #773.
- - - - -
1 changed file:
- src/modules/module-card-restore.c
Changes:
=====================================
src/modules/module-card-restore.c
=====================================
@@ -55,7 +55,8 @@ PA_MODULE_USAGE(
#define SAVE_INTERVAL (10 * PA_USEC_PER_SEC)
static const char* const valid_modargs[] = {
- "restore_bluetooth_profile=<boolean>"
+ "restore_bluetooth_profile",
+ NULL
};
struct userdata {
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/b94dba9dafe41caf374e55fba2af242a41f97e5b
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/b94dba9dafe41caf374e55fba2af242a41f97e5b
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20191209/01e7e82b/attachment.html>
More information about the pulseaudio-commits
mailing list