Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • FPC Source FPC Source
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,261
    • Issues 1,261
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 46
    • Merge requests 46
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • FPC
  • FPC SourceFPC Source
  • Issues
  • #20721
Closed
Open
Created Nov 21, 2011 by FPC Admin account@fpc_adminOwner

Wrong addressing through nested type definition

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)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking