home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 1.toast / pc / sample code / devices and hardware / disks / ramdisk / documentation / changes in 1.1 next >
Encoding:
Text File  |  2000-06-23  |  540 b   |  17 lines

  1. Changes in 1.1
  2. __________________________________________________
  3.  
  4. In the file RAMInit.c, in the procedure GrowUnitTable(), there was
  5. a line which read:
  6.  
  7.  newUnitTableBase = NewPtrSysClear(sizeof(newUnitEntryCount * sizeof(long)));
  8.  
  9. this line should be
  10.  
  11.  newUnitTableBase = NewPtrSysClear(newUnitEntryCount * sizeof(long));
  12.  
  13. Because of this bug, trying to grow the unit table will overwrite other
  14. parts of the system heap and potentially crash.  Thanks to Mike Wiese
  15. for finding this bug.
  16. __________________________________________________
  17.