mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
eb78c43fab
当OHOS_GetMemLeakString malloc分配缓冲区但内容为空字符串时, 原代码只判断buf!=nullptr就直接赋值,增加*buf!='\0'判断, 避免空内容流入IPC传输链。 Co-Authored-By: Agent Signed-off-by: denganliang <denganliang3@h-partners.com> Change-Id: I31f55cc5e272e813ba3563942ee177ec0a6cdd3b