It needs to check the handle that is returned from pulseaudio.
[Version] 0.12.69
[Issue Type] Bug
Change-Id: I245579aa282452dba352ad6356b882d072a894d3
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
}
if (result) {
- g_variant_get(result, "(i)", &handle);
- debug_log("handle : %d", handle);
- *codechandle = handle;
+ g_variant_get(result, "(i)", &handle);
+ if (handle < 0) {
+ debug_log("handle is invalid : %d", handle);
+ ret = MM_ERROR_SOUND_INTERNAL;
+ } else {
+ *codechandle = handle;
+ }
g_variant_unref(result);
} else {
debug_error("reply null");
Name: libmm-sound
Summary: MMSound Package contains client lib and sound_server binary
-Version: 0.12.68
+Version: 0.12.69
Release: 0
Group: System/Libraries
License: Apache-2.0