Sync (45): msvcrt cpp update

Jon Griffiths jon_p_griffiths at yahoo.com
Thu Jul 17 15:36:59 CDT 2003


Hi,

This should be applied after "Sync (29): msvcrt cpp". It turns out
that depending on how our vtables get laid out by the compiler, we
can actually end up with a valid pointer (to invalid data) in the
dword immediately before the vtable. So, we should check for our
exported vtables before we try to read the vtables rtti pointer.

Also, type_info never compares the first byte of the raw names, as
confirmed by the test coming next.

Cheers,
Jon
License: X11

ChangeLog:

  Jon Griffiths <jon_p_griffiths at yahoo.com>

  +dlls/msvcrt/cpp.c
   Check for our exported vtables before rtti pointers
   Fix typeinfo comparason functions

=====
"Don't wait for the seas to part, or messiahs to come;
 Don't you sit around and waste this chance..." - Live

jon_p_griffiths at yahoo.com

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msvcrt_cpp_2.diff
Type: text/x-diff
Size: 3092 bytes
Desc: msvcrt_cpp_2.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030717/12017b14/msvcrt_cpp_2.bin


More information about the wine-patches mailing list