mirror of https://github.com/x64dbg/zydis
Merge pull request #18 from mrexodia/fix_error
Fixed an uninitialized variable in ZydisChangeCase
This commit is contained in:
commit
8f294ed3e5
|
@ -321,7 +321,7 @@ void ZydisChangeCase(char* buffer, size_t bufferLen, ZydisLetterCase letterCase)
|
|||
return;
|
||||
}
|
||||
|
||||
for (size_t i; i < bufferLen; ++i)
|
||||
for (size_t i = 0; i < bufferLen; ++i)
|
||||
{
|
||||
char* c = buffer + i;
|
||||
if (*c >= rewriteRangeStart && *c <= rewriteRangeEnd)
|
||||
|
|
Loading…
Reference in New Issue