Commit 6a629710 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

urlmon: Fixed an array overread (Coverity).

parent 9ceac318
......@@ -423,8 +423,8 @@ static void test_SecurityManager(void)
ok(size == sizeof(secid10) ||
size == sizeof(secid10_2), /* win2k3 */
"size=%d\n", size);
ok(!memcmp(buf, secid10, size) ||
!memcmp(buf, secid10_2, size), /* win2k3 */
ok(!memcmp(buf, secid10, sizeof(secid10)) ||
!memcmp(buf, secid10_2, sizeof(secid10_2)), /* win2k3 */
"wrong secid\n");
zone = 100;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment