1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-18 09:12:34 +00:00

All VAX: Avoid potential invalid memory reference recording history after FPD

This commit is contained in:
Mark Pizzolato 2017-03-30 19:22:16 -07:00
parent 680ad4f239
commit fa1671455e

View File

@ -713,6 +713,7 @@ for ( ;; ) {
}
numspec = drom[opc][0]; /* get # specs */
if (PSL & PSL_FPD) {
j = 0;
if ((numspec & DR_F) == 0)
RSVD_INST_FAULT;
}