You have stack buffer out of bounds write. On line 52 you declare h an array of 70unsignedints. On line 57 you store reference to such array. Later, on line 35 you write out of bounds, one element past end of the array. The _SPR_history[i] writes to _SPR_history[70]. Created an issue: https://github.com/X64X2/sh/issues/1
You have stack buffer out of bounds write. On line
52
you declareh
an array of70
unsigned int
s. On line57
you store reference to such array. Later, on line35
you write out of bounds, one element past end of the array. The_SPR_history[i]
writes to_SPR_history[70]
. Created an issue: https://github.com/X64X2/sh/issues/1