Menu

#37 CRC in modules is not verified

v3.3.0
open
nobody
None
5
2020-08-22
2020-08-22
Frank Wille
No

We are currently porting our C99 compiler vbcc to OS-9/6809, and with my first test programs I noticed that NitrOS9 happily loads and executes modules with an invalid CRC. Even self-modifying code seems possible that way and is not detected.
I was using the 3.3.0 disk images for Coco2 and Dragon64 from the Files section on the Xroar emulator.
Attached you find a 360K disk for Coco2/D64 with a test program called helloworld. It has a CRC of 0x78,0x00,0x00, which is definitely wrong.

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel