add runtime checks for out-of-bound reads
1 file changed