mirror of
https://github.com/simh/simh.git
synced 2026-01-26 20:12:23 +00:00
PDP11, all VAX: Fix handling of TU58 initialization command.
The processing of initialization commands improperly attempted to initialize all controllers AND these attempts (for controllers beyond 0) referenced beyond the bounds of the unit array. This problem was reported in issue #309
This commit is contained in:
@@ -996,7 +996,7 @@ switch (opcode) {
|
||||
break;
|
||||
|
||||
case TD_OPINI:
|
||||
for (unit=0; unit < ctlr->dptr->numunits; unit++)
|
||||
for (unit=0; unit < 2; unit++)
|
||||
sim_cancel (ctlr->uptr+unit);
|
||||
ctlr->ibptr = 0;
|
||||
ctlr->obptr = 0;
|
||||
|
||||
Reference in New Issue
Block a user