mirror of
https://gitee.com/openharmony/developtools_hdc
synced 2024-11-23 23:20:43 +00:00
modify crash
Signed-off-by: liuwei <liuwei573@huawei.com>
This commit is contained in:
parent
b1cf4966f9
commit
6d06d41ea3
@ -196,6 +196,7 @@ void *AsyncCmd::Popen(void *arg)
|
||||
#endif
|
||||
auto param = reinterpret_cast<AsyncParams *>(arg);
|
||||
if (param == nullptr) {
|
||||
WRITE_LOG(LOG_FATAL, "get param is nullptr.");
|
||||
return reinterpret_cast<void *>(ERR_PARAM_NULLPTR);
|
||||
}
|
||||
AsyncParams params = *param;
|
||||
|
Loading…
Reference in New Issue
Block a user