Opened 9 years ago

Closed 9 years ago

#555 closed defect (fixed)

Trap on close while direct editing a file name in the collector

Reported by: Gregg Young Owned by: Gregg Young
Priority: minor Milestone: Release_3.24
Component: fm/2 base Version: 3.23
Keywords: Cc:

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.

Attachments (1)

011E_01.TRP (164.1 KB) - added by Gregg Young 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Gregg Young

Attachment: 011E_01.TRP added

comment:1 Changed 9 years ago by Gregg Young

Owner: set to Gregg Young
Status: newassigned

comment:2 Changed 9 years ago by Gregg Young

Resolution: fixed
Status: assignedclosed

CS [1836]

Note: See TracTickets for help on using tickets.