ack icon indicating copy to clipboard operation
ack copied to clipboard

[bug] interpreter will do an out of bounds memory read on executing set instruction with invalid bit number

Open ccodere opened this issue 6 years ago • 0 comments

When the ESET trap is ignored through SIM and the SET instruction is executed with a bitnumber out of range, then the EM interpreter might read in memory outside of its range, leading to an out of bounds read.

This has been fixed by making sure that the memory read is not executed if the bitnumber is out of bounds of the set.

ccodere avatar Jun 22 '19 09:06 ccodere