diff options
Diffstat (limited to 'emulators/simh/patches/patch-ac')
-rw-r--r-- | emulators/simh/patches/patch-ac | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/emulators/simh/patches/patch-ac b/emulators/simh/patches/patch-ac deleted file mode 100644 index 13f5904c89e..00000000000 --- a/emulators/simh/patches/patch-ac +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2002/10/19 21:38:10 thorpej Exp $ - -*** PDP11/pdp11_xq.c.orig Sat Oct 19 14:29:44 2002 ---- PDP11/pdp11_xq.c Sat Oct 19 14:30:00 2002 -*************** -*** 766,771 **** ---- 766,775 ---- - if (xq.xbdl_buf[1] & XQ_DSC_H) b_length -= 1; - if (xq.xbdl_buf[1] & XQ_DSC_L) b_length -= 1; - -+ /* protect ourselves from a broken device driver... */ -+ if ((xq.write_buffer.len + b_length) > sizeof(xq.write_buffer.msg)) -+ b_length = sizeof(xq.write_buffer.msg) - xq.write_buffer.len; -+ - /* add to transmit buffer */ - Map_ReadB(address, b_length, &xq.write_buffer.msg[xq.write_buffer.len], NOMAP); - xq.write_buffer.len += b_length; |