
TCL
Fromabovelineitlookstomethatyourprogramisclearlyoverwritingthememorywhichwasallocatedimplicitlyorexplicitlybyyourcode。
IwastryingtounderstandyourcodehoweveritwasnoTCLeartome。ButItriedtolookfrommemorycorruptionscenarioandfoundthatyourprogrAMDoeshavemalloc/freecallwhichmightleadtomemoryoverrun。

AMD
ButIsawthatthesepointersaregettingusedinvariouscontextwithinyourprogram。NowyoushouldcheckthatunderwhichscenarioyourbuffercanbeoverwrittenassomeplacesyouhaveuseddifferentkeyLengthanddependingonthisyourprogramisexecutingdifferentfunction。
Ithinkyoumaywanttoreviewthesecodesandseewhetheroverflowispossible!AsyourapplicationwouldberunningonAndroidbasedsystemwherewecannotrunanydynamictool(VaLGrind/WinDBG/Pageheap。
)soIguessyouneedtoreviewyourcodebyputtingsomelogatimportantplaceandseewhereyouareoverwriting。Hopeaboveinformationwouldbeusefulforyoutounderstandyourproblem。
Copyright © 2025 IZhiDa.com All Rights Reserved.
知答 版权所有 粤ICP备2023042255号