Change-Id: Ibca51f73ee95586c1fe6d8107c4c903383e08312
tzplatform_set_user(cred.uid);
internal_path = g_strdup(MEDIA_PATH_USER);
tzplatform_reset_user();
-
+ if (!internal_path) {
+ LOGE("media path user is NULL");
+ return PLAYER_ERROR_INVALID_OPERATION;
+ }
// LOGD("internal storage path %s", internal_path);
if (strncmp(file_path, internal_path, strlen(internal_path)) == 0) { /* internal media storage */
Name: mmsvc-player
Summary: A Media Player module for muse server
-Version: 0.2.137
+Version: 0.2.138
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0