1
0
mirror of https://github.com/simh/simh.git synced 2026-02-01 14:23:18 +00:00

I1401, I1620, I7094: Address Coverity issues in card reader devices

This commit is contained in:
Mark Pizzolato
2022-03-15 07:25:34 -07:00
parent 86f65093bc
commit d02e91c797
3 changed files with 7 additions and 7 deletions

View File

@@ -201,7 +201,7 @@ return SCPE_OK;
t_stat cdr_svc (UNIT *uptr)
{
uint32 i, col, row, bufw, colbin;
char cdr_cbuf[(2 * CD_CHRLNT) + 2];
char cdr_cbuf[(2 * CD_CHRLNT) + 2 + 1];
t_uint64 dat = 0;
if ((uptr->flags & UNIT_ATT) == 0) /* not attached? */