Changeset 1478 for trunk/dll/filldir.c


Ignore:
Timestamp:
Nov 15, 2009, 11:23:09 PM (16 years ago)
Author:
Gregg Young
Message:

Fix trap on rescan following change of label/drive type or environment on SMP; Ticket 408

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/filldir.c

    r1471 r1478  
    8282  13 Oct 09 SHL Avoid szDriver overflow in FillTreeCnr
    8383  13 Oct 09 SHL Restore missing drives in drive drop-down listbox; optimize updates
     84  15 Nov 09 GKY Avoid szBuf overflow in FillTreeCnr
     85  15 Nov 09 GKY Optimize some check code
    8486
    8587***********************************************************************/
     
    715717  ULONG flags;
    716718  CHAR *p;
    717   CHAR szBuf[80];
     719  CHAR szBuf[CCHMAXPATH];
    718720
    719721  // fill in a container record from a FILESTATUS4L structure
     
    13501352            }
    13511353          }
    1352           if (stricmp(volser.volumelabel, NullStr) != 0 && fShowDriveLabelInTree)
     1354          if (fShowDriveLabelInTree && stricmp(volser.volumelabel, NullStr) != 0)
    13531355            strcpy(szFSType, volser.volumelabel);
    13541356          pci->rc.flRecordAttr |= CRA_RECORDREADONLY;
Note: See TracChangeset for help on using the changeset viewer.