Changeset 1663


Ignore:
Timestamp:
Aug 4, 2012, 11:13:29 PM (13 years ago)
Author:
Gregg Young
Message:

Fix trap reported by Ben

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/treecnr.c

    r1650 r1663  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2001, 2010 Steven H. Levine
     9  Copyright (c) 2001-2012 Steven H. Levine
    1010
    1111  16 Oct 02 SHL Handle large partitions
     
    8787                entries in the tree container, fix related semaphore performance using
    8888                combination of event and mutex semaphores
     89  04 Aug 12 GKY Fix trap reported by Ben
    8990
    9091***********************************************************************/
     
    773774      if (cnri.cRecords) {
    774775        sprintf(s, GetPString(IDS_NUMDRIVESTEXT), cnri.cRecords);
    775         if (pci && (INT) pci != -1 && *pci->pszFileName) { //fixme if can reproduce trap on *pci->psazFileName check invalid address
     776        if (pci && (INT) pci != -1 && pci->pszFileName) { //fixme? will try checking pci->pszFileName instead of the pointer
    776777          if (!(driveflags[toupper(*pci->pszFileName) - 'A'] &
    777778                DRIVE_REMOVABLE) ||
Note: See TracChangeset for help on using the changeset viewer.