🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.msdos.programmer
1 messages
1 total messages Started by David Conrad Tue, 12 Jan 1993 14:40
Patch for MS-DOS 5.0 CHKDSK.EXE of Apr 9
#7611
Author: David Conrad
Date: Tue, 12 Jan 1993 14:40
46 lines
2392 bytes
For those who have the revision of MS-DOS 5.00 wherein the CHKDSK has
a serious bug (Apr 9, 91, size 16,200) I've produced the following
patch based on information provided by Padgett Petersen.  If you don't
have the patch program to apply this then email me; if enough people
need it I'll see that it gets uploaded to Simtel20.

(It's actually already there in several of Borland's patches to Turbo/
Borland C(++), as well as perhaps other places.  I got mine from
PD1:<MSDOS.TURBOC>TCPPT1.ZIP, it's also in TCPATCH2.ARC in the same
directory, apparently.)

-=-=- cut here -=-=- chkdsk.pat -=-=- cut here -=-=-
; Padgett Peterson posted the following info about the Apr 9 version
; of CHKDSK.EXE, which as you probably know by now has a serious bug:
;
; 8b 4f 0f 8b f9 ... at offset ds:263e in the "old" and
; 8b 7f 0f 32 ed ... is at the same offset in the "new"
;
;                                       Warmly,
;                                               Padgett
;
; Note: this was done without any advice/observations from Mircrosoft &
;       only represents what I found in minimal testing. Caveat y'all.
; --
; Having taken a quick look myself, I've made the following patch,
; noting that the same caveats that Padgett mentioned should apply,
; and it can be applied with:
;
; patch chkdsk.pat chkdsk.exe
;
; If it says, "patch already applied," then you have the fixed version.
; (Yes, 263e above and 273e below.  The difference is due to the PSP.)
;
; Regards,
; David R. Conrad, David_Conrad@mts.cc.wayne.edu, dave@michigan.com

273E: 8B 7F 0F 32 ED
      8B 4F 0F 8B F9
-=-=- cut here -=-=- chkdsk.pat -=-=- cut here -=-=-

David R. Conrad
-- 
=  CAT-TALK Conferencing Network, Computer Conferencing and File Archive      =
-  1-313-882-2209, 300bps-14400bps, V.32/V.32bis/TurboPEP New users use 'new' - 
=  as a login id.  AVAILABLE VIA PC-PURSUIT!!! (City code "MIDET")            =
   E-MAIL Address: dave@Michigan.COM
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads