home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!yale.edu!yale!gumby!destroyer!Tygra.Michigan.COM!dave
- From: dave@tygra.Michigan.COM (David Conrad)
- Subject: Patch for MS-DOS 5.0 CHKDSK.EXE of Apr 9
- Organization: CAT-TALK Conferencing System
- Date: Tue, 12 Jan 1993 14:40:01 GMT
- Message-ID: <1993Jan12.144002.26445dave@tygra.Michigan.COM>
- Lines: 46
-
- 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
-