Opened 12 years ago
Closed 12 years ago
Possible mythuiimage decref segfault
The call to im->DecrRef?() in mythuiimage.cpp in the customEvent method can cause a segfault. I had one segfault when I was listening to internet radio with the mythmusic plugin and it tried to fetch the Deutschland Radio logo.
Adding a check "if (im)" fixed that. Patch attached.
Change History (8)
Changed 12 years ago by anonymous
Component: |
MythTV - General →
Plugin - MythMusic
|
Milestone: |
unknown →
0.26
|
Owner: |
set to stuartm
|
Priority: |
minor →
critical
|
Status: |
new →
accepted
|
Priority: |
critical →
major
|
Severity: |
medium →
low
|
Resolution: |
→ Fixed
|
Status: |
accepted →
closed
|
The patch treats the symptom but not the root cause. That pointer should not be null and I'll need to do some digging to discover exactly how it came to be deleted.