mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
ALTAIR: Extend disk buffer by 1 byte to avoid array overruns (COVERITY)
This commit is contained in:
parent
44deef9447
commit
c169b8dd79
@ -134,7 +134,7 @@ int32 cur_sect[9] = {0, 0, 0, 0, 0, 0, 0, 0, 377};
|
||||
int32 cur_byte[9] = {0, 0, 0, 0, 0, 0, 0, 0, 377};
|
||||
int32 cur_flags[9] = {0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
|
||||
char dskbuf[137]; /* Data Buffer */
|
||||
char dskbuf[138]; /* Data Buffer */
|
||||
int32 dirty = 0; /* 1 when buffer has unwritten data in it */
|
||||
UNIT *dptr; /* fileref to write dirty buffer to */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user