mirror of
https://github.com/openharmony/bundlemanager_bundle_framework_lite.git
synced 2026-07-21 08:06:15 -04:00
IssueNo:#I4A59C
Description:add whether bundleName is nullptr Sig:appexecfwk Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: wangdengjia <wangdengjia@huawei.com> Change-Id: I41b307bb9ddd357be839403a541c6e387918d0b5
This commit is contained in:
@@ -174,7 +174,7 @@ bool GtManagerService::GetInstallState(const char *bundleName, InstallState *ins
|
||||
*installProcess = BMS_INSTALLATION_COMPLETED;
|
||||
return true;
|
||||
}
|
||||
if (bundleInstallMsg_ == nullptr) {
|
||||
if (bundleInstallMsg_ == nullptr || bundleInstallMsg_->bundleName == nullptr) {
|
||||
*installState = BUNDLE_INSTALL_FAIL;
|
||||
*installProcess = 0;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user