- The error message could not be delivered to application,
and it will cause crash when it's called in idle state.
[Version] 0.4.17
[Profile] Common
[Issue Type] Bug fix
Change-Id: Ib4681ca43c895e74742a19a57866e2080058f0bc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Name: capi-media-camera
Summary: A Camera API
-Version: 0.4.16
+Version: 0.4.17
Release: 0
Group: Multimedia/API
License: Apache-2.0
return false;
}
-static void *_camera_msg_handler_func(gpointer data)
+static gpointer _camera_msg_handler_func(gpointer data)
{
int api = 0;
int type = 0;
}
-static void *_camera_msg_recv_func(gpointer data)
+static gpointer _camera_msg_recv_func(gpointer data)
{
int recv_length = 0;
int single_length = 0;
if (!cb_info->is_server_connected) {
char *error_msg = NULL;
+ if (cb_info->bufmgr == NULL) {
+ LOGE("No need to send error(handle is not created)");
+ goto CB_HANDLER_EXIT;
+ }
+
if (cb_info->fd < 0) {
LOGE("fd is closed in client side");
goto CB_HANDLER_EXIT;