Opened 14 years ago
Closed 14 years ago
#7766 closed patch (fixed)
Segfault when skipping ahead with EIA-708 closed captions enabled
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - ATSC | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
A segfault occasionally occurs when skipping ahead (with the right arrow key) while EIA-708 (ATSC) closed captions are turned on. I did some debugging with gdb, and discovered that the crash occurs in CC708Window::Scroll, which accesses the "text" variable even though it may be null. I've attached a patch which adds a null check to prevent this crash from occurring.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Patch to fix segfault in EIA-708 code