Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!well!brecher From: brecher@well.UUCP (Steve Brecher) Newsgroups: comp.sys.mac Subject: MacTools 7.2 bug & patch Message-ID: <7853@well.UUCP> Date: 6 Dec 88 21:56:55 GMT Reply-To: brecher@well.UUCP (Steve Brecher) Organization: Software Supply, Sunnyvale, CA Lines: 25 MacTools 7.2 contains a bug that can cause a crash when Pyro! 3.1 is installed (or possibly without Pyro! 3.1), when the Undelete Files menu item is chosen and then the Save Deletes button is clicked. Technical description of the bug: MacTools passes the contents of an uninitialized variable to SetPort. If it doesn't crash, it's just luck; the presence of Pyro! 3.1 may happen to make MacTools 7.2 unlucky (depending on which other INITs are installed). On my system, the patch does not occur if TOPS is also installed, but does occur if TOPS is not installed. With respect to the bug, this is just coincidence. To fix the bug in MacTools 7.2, apply the following hexadecimal patch. If you use MacTools to make the patch, be sure to patch a copy of the program instead of patching the program that is actually running. The patch is located in block 198 (C6 hexadecimal) of MacTools 7.2 at offset 70 hexadecimal bytes within the block: old contents: 206E 0008 2050 3F10 206E 0008 2050 change to: 3F10 4868 000A 486E FFF8 A874 6004 Note for users of other patching utilities: the "old contents" is not a unique pattern within the file; the instance to be patched is the second occurrance. -- brecher@well.UUCP (Steve Brecher)