Skip to content

Commit

Permalink
bpo-9194: Fix the bounds checking in winreg.c's fixupMultiSZ() (pytho…
Browse files Browse the repository at this point in the history
  • Loading branch information
ZackerySpytz authored and zooba committed Apr 22, 2019
1 parent 6ef726a commit 56ed864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC/winreg.c
Expand Up @@ -521,7 +521,7 @@ fixupMultiSZ(wchar_t **str, wchar_t *data, int len)
Q = data + len;
for (P = data, i = 0; P < Q && *P != '\0'; P++, i++) {
str[i] = P;
for(; *P != '\0'; P++)
for (; P < Q && *P != '\0'; P++)
;
}
}
Expand Down

0 comments on commit 56ed864

Please sign in to comment.