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)
Change History (3)
Changed 9 years ago by
Attachment: | 011E_01.TRP added |
---|
comment:1 Changed 9 years ago by
Owner: | set to Gregg Young |
---|---|
Status: | new → assigned |
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
CS [1836]