Merge pull request #18 from mrexodia/fix_error

Fixed an uninitialized variable in ZydisChangeCase
This commit is contained in:
Joel Höner 2017-10-14 14:03:29 +02:00 committed by GitHub
commit 8f294ed3e5
1 changed files with 1 additions and 1 deletions

View File

@ -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)