mirror of https://github.com/x64dbg/zydis
Fixed an uninitialized variable in ZydisChangeCase
This commit is contained in:
parent
90e4626d11
commit
1564120c22
|
@ -321,7 +321,7 @@ void ZydisChangeCase(char* buffer, size_t bufferLen, ZydisLetterCase letterCase)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (size_t i; i < bufferLen; ++i)
|
for (size_t i = 0; i < bufferLen; ++i)
|
||||||
{
|
{
|
||||||
char* c = buffer + i;
|
char* c = buffer + i;
|
||||||
if (*c >= rewriteRangeStart && *c <= rewriteRangeEnd)
|
if (*c >= rewriteRangeStart && *c <= rewriteRangeEnd)
|
||||||
|
|
Loading…
Reference in New Issue