Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Not widely known problem in programming? (Developers)

posted by tkchia Homepage, 28.03.2021, 08:02

Hello ecm, hello Laaca,

> I'd call this a type of "use after free".

Yep, me too. The program is effectively using memory after it is considered "freed" back to the system.

Apparently AddressSanitizer can sometimes detect such "stack use after return" bugs. But I am not sure if AddressSanitizer works (or can be made to work) with Free Pascal, or even with 32-bit DPMI.

Thank you!

---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 176 users online (0 registered, 176 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum