mirror of
https://github.com/openharmony/startup_appspawn.git
synced 2026-08-25 06:20:05 -04:00
@@ -210,7 +210,7 @@ bool checkProcName(const int32_t &pid, const AppSpawnStartMsg ¶ms)
|
||||
HiLog::Error(LABEL, "cmd sprintf_s fail .");
|
||||
return CHECK_ERROR;
|
||||
}
|
||||
if(strlen(cmd) > CMD_SIZE){
|
||||
if(strlen(cmd) > CMD_SIZE) {
|
||||
HiLog::Error(LABEL, " cmd length is too long .");
|
||||
return CHECK_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user