Opened 17 years ago
Closed 17 years ago
Last modified 16 years ago
#6223 closed defect (fixed)
mythtv-setup crashes randomly while doing a channel scan
| Reported by: | mortalmatt | Owned by: | Janne Grunau |
|---|---|---|---|
| Priority: | major | Milestone: | 0.22 |
| Component: | MythTV - General | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The following patch fixes a crash in ScanStreamData::DeleteCachedTable().
The first call to ATSCStreamData::DeleteCachedTable() can delete the PSIPTable object. The remaining code will then operate on an invalid object resulting in undefined behaviour and segmentation faults.
The fix introduces a boolean return value for all DeleteCacheTable() methods which indicates where an object got deleted (true) or not (false). This way the caller at least knows what happened and can react properly.
Attachments (1)
Change History (4)
by , 17 years ago
| Attachment: | mythtv-fixDeleteCachedTable.diff added |
|---|
comment:1 by , 17 years ago
| Milestone: | unknown → 0.22 |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:3 by , 16 years ago
| Owner: | changed from to |
|---|
Note:
See TracTickets
for help on using tickets.

(In [19937]) Fix deleting PSIP tables in scanstreamdata. Closes #6223
patch by mortalmatt