Opened 16 years ago
Closed 16 years ago
#4116 closed defect (fixed)
OSDTypeText segfault
Reported by: | danielk | Owned by: | danielk |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I've been trying to reproduce a OSDTypeText::Draw() segfault with debugging symbols enabled, but have been unable to. The problem happened when the draw routine was working with the m_message string.
I'm attaching a patch which uses QDeepCopy and a lock to avoid memory corruption in OSDTypeText. I can't reproduce the crash so it's hard to say if this fixes the problem, but it should.
Attachments (2)
Change History (4)
Changed 16 years ago by
Attachment: | 4116-v1.patch added |
---|
comment:1 Changed 16 years ago by
Note: See
TracTickets for help on using
tickets.
fix for OSDTypeText memory corruption