1.0.4-pre backport: fixed a possible out-of-bounds access
commit679714985c9ad6bff7e5c935f669726b9130c0e3
authorrofl0r <rofl0r@users.noreply.github.com>
Sun, 29 Aug 2021 07:02:11 +0000 (29 07:02 +0000)
committerrofl0r <rofl0r@users.noreply.github.com>
Sun, 29 Aug 2021 08:50:13 +0000 (29 08:50 +0000)
treeab698f6b0b8e33fca4b86f98c59be1e9eef12c3a
parent21ded3d42d062b88e33ba42df71feb3113a5dd3c
1.0.4-pre backport: fixed a possible out-of-bounds access

this is likely the change refered in the original 1.0.4-pre svn
dump ( 9859b44888b00c0835c0c4997f5f2ae4f6dfaf52 ) as:

> fixed a possible out-of-bounds access which could allow a hacked savestate to
> crash gnuboy and possibly run arbitrary code on the host machine. Challenge:
> +try to find a way to exploit it
mem.c