[pulseaudio-commits] src/modules
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Wed Apr 20 13:37:41 UTC 2016
src/modules/stream-interaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b5e5475d964048bac6eab392911b75511016e085
Author: Sangchul Lee <sangchul1011 at gmail.com>
Date: Wed Mar 30 02:21:40 2016 +0900
stream-interaction: Fix crash in case of invalid argument for volume
In case of invalid argument for volume, the crash occurs in pa_stream_interaction_done().
pa_xnew() is replaced with pa_xnew0() to fix it.
Signed-off-by: Sangchul Lee <sc11.lee at samsung.com>
diff --git a/src/modules/stream-interaction.c b/src/modules/stream-interaction.c
index f8ffbf3..7a476c3 100644
--- a/src/modules/stream-interaction.c
+++ b/src/modules/stream-interaction.c
@@ -329,7 +329,7 @@ int pa_stream_interaction_init(pa_module *m, const char* const v_modargs[]) {
goto fail;
}
- m->userdata = u = pa_xnew(struct userdata, 1);
+ m->userdata = u = pa_xnew0(struct userdata, 1);
u->core = m->core;
More information about the pulseaudio-commits
mailing list