[Release version 0.2.33] Fix crash - too small allocation for message parsing from... 97/56197/1 accepted/tizen/mobile/20160106.003506 accepted/tizen/tv/20160106.003402 accepted/tizen/wearable/20160106.003436 submit/tizen/20160105.085903 submit/tizen/20160105.093305
authorJeongmo Yang <jm80.yang@samsung.com>
Tue, 5 Jan 2016 08:38:09 +0000 (17:38 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 5 Jan 2016 08:38:09 +0000 (17:38 +0900)
Change-Id: I955ea9f5ee600760330cfe968c9dbb572d2c2d3c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
include/camera_private.h
packaging/capi-media-camera.spec
src/camera.c

index ecaf45b..95865a5 100644 (file)
@@ -30,7 +30,7 @@
 extern "C" {
 #endif
 
-#define CAMERA_PARSE_STRING_SIZE 10
+#define CAMERA_PARSE_STRING_SIZE 20
 
 typedef struct _camera_cb_info_s {
        gint fd;
index 73da928..790cdbc 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:       capi-media-camera
 Summary:    A Camera API
-Version:    0.2.32
+Version:    0.2.33
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 2b60665..64cdebe 100644 (file)
@@ -42,7 +42,7 @@
 #ifdef LOG_TAG
 #undef LOG_TAG
 #endif
-#define LOG_TAG "TIZEN_N_CAMERA_CLIENT"
+#define LOG_TAG "TIZEN_N_CAMERA"
 
 
 int __convert_camera_error_code(const char *func, int code)
@@ -2345,9 +2345,9 @@ int camera_set_display(camera_h camera, camera_display_type_e type, camera_displ
                        goto _SET_DISPLAY_ERROR;
                }
 
-               LOGD("shmsrc socket path : %s", socket_path);
+               LOGD("socket path : %s", socket_path);
 
-               ret = mm_camcorder_client_set_shm_socket_path(pc->client_handle, socket_path);
+               ret = mm_camcorder_client_set_socket_path(pc->client_handle, socket_path);
                if (ret != MM_ERROR_NONE) {
                        LOGE("failed to set socket path 0x%x", ret);
                        goto _SET_DISPLAY_ERROR;