Change-Id: Ifd1c0466ed9b6003dcc0e168ed2432cf5c3f3fa1
return -EPERM;
}
temp = mnt_fs_get_srcpath(fs);
return -EPERM;
}
temp = mnt_fs_get_srcpath(fs);
+ if (!temp) {
+ mnt_free_table(t);
name = strrchr(temp, '/');
name = strrchr(temp, '/');
+ if (!name) {
+ mnt_free_table(t);
/* Boot from USB is not handled */
if (!is_emulator()) {
if (!fnmatch(MMC_PATH, temp, 0))
/* Boot from USB is not handled */
if (!is_emulator()) {
if (!fnmatch(MMC_PATH, temp, 0))