Commit graph

2821 commits

Author SHA1 Message Date
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
Mark Pizzolato
c3e1117728 SIGMA: Fixed compiler warning 2017-03-09 08:38:22 -08:00
Bob Supnik
15b19193ed SIGMA: Add LOAD support for Carriage Control Tape 2017-03-09 08:33:07 -08:00
Bob Supnik
35c42bbcc2 SIGMA: Fixed unspecified return value in HIO 2017-03-09 08:30:37 -08:00
Mark Pizzolato
6384ec82f5 GITHUB: Clarify build information requested details 2017-03-09 08:04:39 -08:00
Mark Pizzolato
9d013e9b44 SCP: Fix asynchronous event queue updates without intrinsic instructions.
As discussed in #393
2017-03-09 07:55:21 -08:00
Bob Supnik
b41d10f189 PDP11, PDP10, VAX780: CR11 is BR6, CD11 is BR4 2017-03-07 09:42:37 -08:00
Mark Pizzolato
24f1c06d06 SCP: Add HELP info for UNTIL argument to the RUN and GO commands 2017-03-03 20:35:28 -08:00
Mike Hill
4c746682f1 PDP11: Correct the address of MMR3 in a comment 2017-03-03 05:01:03 +01:00
Mark Pizzolato
1e981e0d64 PDP11: Reworked RH to device mapping for proper static address assignment
Operating systems and boot driver code presume that each Massbus
device will always be at a specific fixed address and use a specific fixed vector.
The prior implementation assigned the first active Massbus device to RHA
and followed in order for subsequent devices.  This could leave devices at
addresses and vectors that software or boot drivers wouldn't expect.

The problem which was originally reported in #301 should now be properly
solved.  As a consequence of the need to have fixed addresses and vectors,
some combinations of devices can not coexist in a system without causing
conflicts with each other.  TM and TU have conflicting interrupts.  TM and
TS have conflicting addresses and interrupts.
2017-02-23 12:26:39 -08:00
Mike Hill
f9cfae0c00 PDP11: Fix RH address range disappearing after disable/enable of RP/TU/RS
As discussed in #396
2017-02-20 14:21:24 +01:00
Bob Supnik
c02584440b PDP8: Change RESET CPU to clear L'AC
As discussed in #400 and described in the maintenance manuals and/or
schematics for all five PDP-8 models (8, 8/S, 8/I, 8/E, 8/A).
2017-02-19 21:39:02 -08:00
Mark Pizzolato
c1f228f0b0 SCP: Add wild card support to DEL/RM and TYPE/CAT commands 2017-02-19 13:57:03 -08:00
Mark Pizzolato
cbf90e7d93 IBM1130: Remove internal DELETE command since SCP provides one now. 2017-02-17 00:12:43 -08:00
Mark Pizzolato
ed8a288583 SCP: Fix help for DEL/RM command and use unlink() instead of remove()
remove()'s behavior was extended to perform either a unlink() and if
that failed, a rmdir().  This is not consistent with the native commands
del or rm since they only remove a file but not a directory.
2017-02-17 00:11:16 -08:00
R. Voorhorst
f07987b7cd PDP10: Fixed SHOW IO: number of devices and vector ranges 2017-02-16 11:48:35 -08:00
Mark Pizzolato
7a1b35ae12 SCP: Add DEL/RM command to facilitate portable command files 2017-02-16 07:36:35 -08:00