[Bug 26111] New: ntdll/info test shows an invalid read (valgrind)
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Feb 14 17:51:14 CST 2011
http://bugs.winehq.org/show_bug.cgi?id=26111
Summary: ntdll/info test shows an invalid read (valgrind)
Product: Wine
Version: 1.3.13
Platform: x86
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: minor
Priority: P2
Component: ntdll
AssignedTo: wine-bugs at winehq.org
ReportedBy: austinenglish at gmail.com
Invalid read of size 1
at virtual_check_buffer_for_write (virtual.c:1664)
by NtReadVirtualMemory (virtual.c:2778)
by test_readvirtualmemory (info.c:1075)
by func_info (info.c:1416)
by run_test (test.h:556)
by main (test.h:624)
Address 0x1234 is not stack'd, malloc'd or (recently) free'd
Looking at the code, however, it's intended:
/* illegal local address */
status = pNtReadVirtualMemory(process, teststring, (void *)0x1234, 12,
&readcount);
ok( status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got
%08x\n", status);
ok( readcount == 0, "Expected to read 0 bytes, got %ld\n",readcount);
filing a placeholder bug.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list