Wrong addressing through nested type definition
Original Reporter info from Mantis: and
-
Reporter name: Andrew G. Khodotov
Original Reporter info from Mantis: and
- Reporter name: Andrew G. Khodotov
Description:
If class has nested class, and nested access to "frame" class' methods or fields:
- methods receives wrong "Self" parameter;
- fields has wrong address (offset from wrong base).
It result in errors or AV-exceptions.
Frame's fields and methods has base address of nested class instance (field or independent variable), not frame's class instance.
See attached example.
Mantis conversion info:
- Mantis ID: 20721
- OS: Windows XP SP3 rus
- Build: 20111120
- Platform: Win32
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 19681 (#889196f1)
- Monitored by: » jcchu (JC Chu), » and (Andrew G. Khodotov)