Fix stack-buffer-overflow error 49/133649/1 accepted/tizen/unified/20170630.083125 submit/tizen/20170614.052326 submit/tizen/20170619.053621
authorJeongmo Yang <jm80.yang@samsung.com>
Tue, 13 Jun 2017 04:24:31 +0000 (13:24 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 13 Jun 2017 04:24:31 +0000 (13:24 +0900)
[Version] 0.10.124
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A

Change-Id: I5df70a913ade4b7253028a8fd24c8ffa3fd0609c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/libmm-camcorder.spec
src/mm_camcorder_gstcommon.c

index 16ff562..30121e5 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-camcorder
 Summary:    Camera and recorder library
-Version:    0.10.123
+Version:    0.10.124
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index 4b3b398..824350b 100644 (file)
@@ -477,7 +477,7 @@ int _mmcamcorder_create_audiosrc_bin(MMHandleType handle)
        const char *audiosrc_name = NULL;
        char *cat_name = NULL;
        char *stream_type = NULL;
-       char stream_type_len = 0;
+       int stream_type_len = 0;
        int stream_index = 0;
        int buffer_interval = 0;
        int blocksize = 0;