Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access violation in TFIBCustomDataSet.DataEvent on 64bit application with Delphi 11.1 #60

Open
davideangeli opened this issue Apr 6, 2022 · 2 comments

Comments

@davideangeli
Copy link

Hi, I'm compiling Fibplus with new D11.1 Alexandria. An application compiled as win64 raises always an access violation when processing TFIBCustomDataSet.DataEvent. The problem is due to a couple of calls to that method with a brutal cast of the Field variable as longint instead of EventInfo (that is NativeInt).

I correct with the right cast the 2 methods TFIBCustomDataSet.SetFieldData and TFIBDSBlobStream.Destroy and the access violation is gone.

@davideangeli
Copy link
Author

Hi, I suppose that the issue appear on D11.1 win64 apps due to this D11.1 changes on linker about ASLR: https://blog.marcocantu.com/blog/rad111_pe_security.html.

@madorin
Copy link
Owner

madorin commented Dec 24, 2023

@davideangeli , can you submit a MR on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants