Custom Query (518 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (19 - 21 of 518)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Resolution Summary Owner Reporter
#555 fixed Trap on close while direct editing a file name in the collector Gregg Young Gregg Young
Description

As with 554 this was caused by pci->pszFileName being NullStr?. This is from collect.c ~1433

if (!pci->pszFileName) {
                Runtime_Error(pszSrcFile, __LINE__, "pci->pszFileName NULL for %p", pci);
                return 0;
              }
              p = strrchr(pci->pszFileName, '\\');

I added the return 0; as we had previously given the error message and then allowed FM/2 to trap in strrchr.

#554 fixed Trap on rescan following rename caused by pci->pszFileName being NullStr Gregg Young Gregg Young
Description

After I "fixed" the direct edit code it would leave a blank directory line above or below the renamed directory. I added a rescan and the problem was covered up. This seemed fine until it trapped. I traced the trap to UM_RESCAN2 treecnr.c ~791

if (pci && (INT) pci != -1 && pci->pszFileName != NullStr) { //fixme? will try checking pci->pszFileName instead of the pointer
	  if (!(driveflags[toupper(*pci->pszFileName) - 'A'] &
		DRIVE_REMOVABLE) ||
	      driveserial[toupper(*pci->pszFileName) - 'A'] != -1) {

I added the != NullStr? which fixed the trap. I can see we had problems with this in the past based on the fixme. Hopefully this fixed that problem also.

#553 fixed Trap caused by realloc pszFileName and not repointing pszDisplayName to it Gregg Young Gregg Young
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Note: See TracQuery for help on using queries.