[Bug 4742] Message handling in dlls/user/edit.c may crash programs

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 3 10:10:52 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=4742

--- Comment #25 from Fabian Ebner <f.ebner94 at gmail.com> 2013-05-03 10:10:52 CDT ---
(In reply to comment #22)
> Created attachment 44340 [details]
> +edit,+kernelheap
> 
> NoteXpad2 is still crashing in the editcontrol message handler, when loading a
> textfile.
> 
> The issue is still EM_GETHANDLE/EM_SETHANDLE.
> 
> I changed the debug channel in dlls/kernel32/heap.c to "kernelheap"
> and added some extra TRACE to make the log more readable.
> 
> The issue is still EM_GETHANDLE/EM_SETHANDLE:
> 
> Callchain:
> - EM_GETHANDLE
> - GlobalFree(memory handle from EM_GETHANDLE)
> - GlobalReAlloc(memory handle from EM_GETHANDLE, size, flags)
> 
> 
> NoteXPad2 download (139264 bytes):
> http://www.softpedia.com/get/Office-tools/Text-editors/NoteXpad.shtml
> 
> -- 
> By by ... Detlef

You're right, NoteXPad2 was crashing. I was testing with the program of comment
3, which didn't crash. Anyway, the patch works fine for me, good job.

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