[Bug 20303] Spurious valgrind warning in HEAP_CreateSubHeap?
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Oct 10 21:27:00 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=20303
--- Comment #1 from Dan Kegel <dank at kegel.com> 2009-10-10 21:27:00 ---
Another error with the same root cause:
Invalid write of size 2
at start_vfat_ioctl (directory.c:1046)
by find_file_in_dir (directory.c:1748)
by wine_nt_to_unix_file_name (directory.c:2111)
by FILE_QueryFullAttributesFile (file.c:1977)
by NtQueryAttributesFile (file.c:2034)
by RtlDoesFileExists_U (directory.c:2204)
by RtlDosSearchPath_U (path.c:475)
by find_dll_file (loader.c:1833)
by load_dll (loader.c:1923)
by import_dll (loader.c:538)
by fixup_imports (loader.c:711)
by LdrInitializeThunk (loader.c:2501)
by __wine_kernel_init (process.c:1117)
by __wine_process_init (loader.c:2719)
by wine_init (loader.c:711)
by main (main.c:218)
Address 0x7f112008 is not stack'd, malloc'd or (recently) free'd
It seems that NtAllocateVirtualMemory wasn't informing valgrind
about the blocks it created. This didn't seem to be a problem with
old valgrind, but valgrind at top of tree (and probably 3.5.0) complains.
I will attach a patch that fixes the problem here.
--
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