mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
8f6f72b17c
The GetMemLeakStringFunc interface now outputs actual data length via int* parameter to avoid truncation when char* contains null bytes. Updated GetDumpResult to use assign(buf, outLen) and GetSnapshot to use write(fd, buf, outLen) instead of strlen-based length calculation. Co-Authored-By: Agent Signed-off-by: denganliang <denganliang3@h-partners.com> Change-Id: Ia681d4abffcfaefa3cc93cc59559470c737425b0