Opened 10 years ago
Closed 10 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)
by , 10 years ago
| Attachment: | 011E_01.TRP added |
|---|
comment:1 by , 10 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

CS [1836]