fixup! Fix use-after-free crash during get empty codec slot 65/138965/1 accepted/tizen/unified/20170719.132221 submit/tizen/20170717.021211 submit/tizen/20170718.102010 submit/tizen/20170719.041955
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 14 Jul 2017 11:40:06 +0000 (20:40 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Fri, 14 Jul 2017 11:40:35 +0000 (20:40 +0900)
reset of shutdown timer was missing during new handle is created

[Version] 0.11.12
[Issue Type] Bug

Change-Id: I8915ae1ebbe57d7b34d8889212fd7808b1103802

packaging/libmm-sound.spec
server/mm_sound_mgr_codec.c

index b257058..86f1c45 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-sound
 Summary:    MMSound Package contains client lib and sound_server binary
-Version:    0.11.11
+Version:    0.11.12
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index b04aa88..43b474e 100644 (file)
@@ -215,6 +215,8 @@ static int _mm_sound_mgr_codec_slot_get_empty(int *slot)
                sleep(1);
        }
 
+       _mm_sound_mgr_codec_shutdown_timer_stop();
+
        SLOT_UNLOCK();
 
        return err;