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:
parent
fdca6384f2
commit
e70606c75b
1 changed files with 1 additions and 1 deletions
|
@ -996,7 +996,7 @@ switch (opcode) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TD_OPINI:
|
case TD_OPINI:
|
||||||
for (unit=0; unit < ctlr->dptr->numunits; unit++)
|
for (unit=0; unit < 2; unit++)
|
||||||
sim_cancel (ctlr->uptr+unit);
|
sim_cancel (ctlr->uptr+unit);
|
||||||
ctlr->ibptr = 0;
|
ctlr->ibptr = 0;
|
||||||
ctlr->obptr = 0;
|
ctlr->obptr = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue