urlmon: Fixed an array overread (Coverity).
This commit is contained in:
parent
9ceac318e0
commit
6a629710ce
|
@ -423,8 +423,8 @@ static void test_SecurityManager(void)
|
||||||
ok(size == sizeof(secid10) ||
|
ok(size == sizeof(secid10) ||
|
||||||
size == sizeof(secid10_2), /* win2k3 */
|
size == sizeof(secid10_2), /* win2k3 */
|
||||||
"size=%d\n", size);
|
"size=%d\n", size);
|
||||||
ok(!memcmp(buf, secid10, size) ||
|
ok(!memcmp(buf, secid10, sizeof(secid10)) ||
|
||||||
!memcmp(buf, secid10_2, size), /* win2k3 */
|
!memcmp(buf, secid10_2, sizeof(secid10_2)), /* win2k3 */
|
||||||
"wrong secid\n");
|
"wrong secid\n");
|
||||||
|
|
||||||
zone = 100;
|
zone = 100;
|
||||||
|
|
Loading…
Reference in New Issue