Commit graph

2837 commits

Author SHA1 Message Date
Bob Supnik
6333555947 VAX: Annotated intentional fall throughs in switch statements (COVERITY) 2017-03-13 10:37:39 -07:00
Mark Pizzolato
4da04e06ce PDP11, VAX: Fix RQ device potential memory reference errors (COVERITY) 2017-03-12 19:41:23 -07:00
Richard Cornwell
5efbd203a3 B5500: Fixed Coverity errors, and fixed for current SCP. 2017-03-12 22:33:06 -04:00
Mark Pizzolato
14b9265af3 PDP11, VAX: Cleaned MSCP/TMSCP packet queues to be uint16 2017-03-12 19:06:46 -07:00
Mark Pizzolato
12f43e660f TIMER: Behave reasonably when a simulator doesn't associate a UNIT with a timer 2017-03-12 17:59:23 -07:00
Peter Schorn
bd575651ca AltairZ80: More fixes from source code scan (Coverity Scan) 2017-03-12 18:21:07 +01:00
Peter Schorn
70a8921a7a AltairZ80: Fix various static source scanning detected issues (Coverity Scan) 2017-03-12 12:06:05 +01:00
Sergey Svishchev
e49f06dcc3 AltairZ80: fix out-of-bounds accesses (Coverity Scan) 2017-03-11 23:48:03 -08:00
Mark Pizzolato
ba527ab24a Intel-Systems: Fix prior - plug file descriptor leaks (Coverity Scan) 2017-03-11 22:28:33 -08:00
Mark Pizzolato
aa0924816a PDP11, VAX: Fix RQ device Endian compatibility problem (COVERITY) 2017-03-11 22:24:41 -08:00
Mark Pizzolato
c4e963921b PDP11, VAX: Fix TQ device Endian compatibility problem (COVERITY) 2017-03-11 22:23:38 -08:00
Sergey Svishchev
edc93cf263 CDC1700: fix potential use of uninitialized value (Coverity Scan) 2017-03-11 17:59:41 -08:00
Sergey Svishchev
12bd47eb02 Intel-Systems: plug file descriptor leaks (Coverity Scan) 2017-03-11 16:16:34 -08:00
Mark Pizzolato
c6ed19aec3 PDP11, VAX780: XU device fixes (COVERITY)
- Fix potential beyond array bounds memory references
- Fix layout of Read System Id Parameter block (diagnostics)
2017-03-11 16:04:56 -08:00
Mark Pizzolato
235a39714c PDP11, VAX: XQ device fixes (COVERITY)
- Fix potential beyond array bounds memory references
- Fix MOP protocol packet parsing
2017-03-11 16:00:00 -08:00
Mark Pizzolato
65f8e72b40 SCP: Fix uninitialized variable referenced in help (COVERITY) 2017-03-11 12:44:04 -08:00
Mark Pizzolato
7eece3deb1 SCP: Allow detaching of buffered devices without a buffer (COVERITY) 2017-03-11 11:10:56 -08:00
Mark Pizzolato
c169b8dd79 ALTAIR: Extend disk buffer by 1 byte to avoid array overruns (COVERITY) 2017-03-11 10:10:15 -08:00
Mark Pizzolato
44deef9447 VAX780: Fix potentially uninitialized variable reference (COVERITY) 2017-03-11 09:50:39 -08:00
Mark Pizzolato
2d5711961f ETHER: Fix potential unterminated string (COVERITY) 2017-03-11 09:17:40 -08:00
Mark Pizzolato
c94659571f ETHER: Fix potential unterminated string and packet buffer overrun (COVERITY) 2017-03-11 03:14:33 -08:00
Mark Pizzolato
9731644495 SCP: Fix Coverity identified problems
- Use memmove instead of memcpy for potentially overlapping moves.
- Fix memory leaks in error paths.
- Fix potential NULL pointer references
- Assure that string copies stay within bounds of the destination string and
  are NUL terminated
- Fix NULL pointer dereferencing in help routines
2017-03-11 02:33:22 -08:00
Mark Pizzolato
8df467835a DISK: generalized data debug routine for use by devices that don't use sim_disk 2017-03-11 00:13:34 -08:00
Mark Pizzolato
9f929ae312 DISK: Fix Coverity identified problems
Replace memcpy with memmove for overlapping buffer moves.
VHD differencing disk parent filename fix
fix sizing of SIMH format disk drives
Fix memory leak after initializing a disk with a pattern
Fix bad 144 block initialization for RB and CS devices
2017-03-10 15:59:37 -08:00
Mark Pizzolato
872b2f238d TAPE: Fix potential NULL references (COVERITY) 2017-03-10 12:01:38 -08:00
Mark Pizzolato
009e5061e2 PDP11, PDP10: Fix DUP Modem signal change logic (COVERITY) 2017-03-10 11:55:30 -08:00
Mark Pizzolato
7af3e357f0 PDP11, VAX: Fix debug output state reference (COVERITY) 2017-03-10 11:55:30 -08:00
Mark Pizzolato
df3f49c7a0 MicroVAX1: Fix NULL reference check in boot command parsing (COVERITY) 2017-03-10 11:55:29 -08:00
Mark Pizzolato
44587a17c5 MicroVAX2: Properly limit Qbus Map Register Access (COVERITY) 2017-03-10 11:55:29 -08:00
Mark Pizzolato
75a2ced795 SERIAL: Fix potential buffer overrun. (COVERITY) 2017-03-10 11:55:29 -08:00
Mark Pizzolato
1cc845b26c TMXR: Fix various potential buffer overruns (COVERITY) 2017-03-10 11:55:29 -08:00
Leo Broukhis
9e318d16a2 BESM6: Fixed memory access issues (COVERITY). 2017-03-09 21:32:23 -08:00
Leo Broukhis
828fe4c901 BESM6: Added checks for calls to fseek (COVERITY) 2017-03-09 21:20:19 -08:00
Bob Supnik
1e10080bc6 PDP10: Fixed word count test in EXE loader (COVERITY) 2017-03-09 20:09:59 -08:00
Bob Supnik
706de798ba PDP1, PDP18B: Fixed dt_seterr to handle nx unit select (COVERITY) 2017-03-09 20:09:02 -08:00
Bob Supnik
3530f0de7d PDP10: Added mask on EXE repeat count (COVERITY) 2017-03-09 19:50:01 -08:00
Bob Supnik
f26fa3d17f PDP8: Fixed PCQ_ENTRY for interrupts (COVERITY) 2017-03-09 19:49:34 -08:00
Bob Supnik
6f036bb6aa ID16, ID32: Added mask on EXE repeat count (COVERITY) 2017-03-09 19:49:01 -08:00
Bob Supnik
9048245287 I1401: Protect character conversions from garbage files (COVERITY) 2017-03-09 19:48:31 -08:00
Bob Supnik
396dd88def NOVA: Fixed missing break in loader & overlook case in address parse (COVERITY) 2017-03-09 19:47:50 -08:00
Bob Supnik
97a11f2b05 SDS: trap_P not set if mem mgt trap during fetch (COVERITY) 2017-03-09 19:47:19 -08:00
Bob Supnik
92e809f7c9 I1620: Guardbanded translation table lookups (COVERITY) 2017-03-09 19:46:29 -08:00
Mark Pizzolato
2d4004b936 SCP: fix CID: 1415878 "Useless call" 2017-03-09 19:07:45 -08:00
Sergey Svishchev
29eaa45c37 TX-0: fix CID: 1415540 "Logically dead code"
Corrected macro definitions to match comments
2017-03-09 18:36:45 -08:00
Sergey Svishchev
2bf538f59c PDP11, All VAX: fix CID: 1415573, 1415452 "Operands don't affect result"
Character length of 5 is stored as 0.
2017-03-09 18:33:40 -08:00
Sergey Svishchev
41dd89f938 VAX: fix CID: 1415593, 1415629 "Missing break in switch" 2017-03-09 17:24:23 -08:00
Sergey Svishchev
b40e63de4e VAX: fix CID: 1415411, 1415414-1415417, 1415535 "Buffer not null terminated"
Pass buffer size minus one to strncpy()
2017-03-09 17:20:54 -08:00
Sergey Svishchev
2e2df8fc2d PDP11, All VAX: fix CID: 1415818 "Uninitialized scalar variable" 2017-03-09 17:20:00 -08:00
Sergey Svishchev
4bee16578a PDP11, All VAX: fix CID: 1415538, 1415766 ("Dereference before null check") 2017-03-09 17:19:09 -08:00
Mark Pizzolato
abc1afc07e SCP: Fix director scan logic for *nix host systems 2017-03-09 11:03:00 -08:00