flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
okasvi 14 Jan 2006, 21:37
when i went thru it with OllyDbg i think error is here in szCatStr:
Code: @@: mov al, [ecx+edx] ; write append string to end of source mov [edi+edx], al add edx, 1 test al, al ; exit when terminator is written jne @B _________________ When We Ride On Our Enemies support reverse smileys |: |
|||
![]() |
|
velox 14 Jan 2006, 21:58
this is because you overwrite szTrimString with "szCatStr" when you call
szCatStr,szSrcString," szCatStr" you should reserve more bytes at the end of szSrcString, or better add an additional argument for your szCatStr function -> a DstString:DWORD |
|||
![]() |
|
okasvi 15 Jan 2006, 02:24
Thanks
![]() _________________ When We Ride On Our Enemies support reverse smileys |: |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.