Hacker News new | ask | show | jobs
by andreidd 359 days ago
What's stopping you from UAF or OOB array access in Delphi?
2 comments

Delphi arrays are bounds checked. UAF is mitigated by having ref counted strings and such. Not fully safe but much safer than C and C++.
Usually a runtime or compile time check. At least for OOB in Ada.

https://www.jdoodle.com/ia/1IgW