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@winehq.org ReportedBy: austinenglish@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.