urlmon: Fixed an array overread (Coverity).

This commit is contained in:
Marcus Meissner 2011-11-14 12:31:11 +01:00 committed by Alexandre Julliard
parent 9ceac318e0
commit 6a629710ce
1 changed files with 2 additions and 2 deletions

View File

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