Modify ↓
Ticket #7766 (closed patch: fixed)
You must read the TicketHowTo before creating a new ticket or commenting on an existing ticket.
Opened 2 years ago
Last modified 2 years ago
Segfault when skipping ahead with EIA-708 closed captions enabled
| Reported by: | Clayton Smith <argilo@…> | 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
Change History
Changed 2 years ago by Clayton Smith <argilo@…>
-
attachment
segfault-fix.patch
added
Note: See
TracTickets for help on using
tickets.

Patch to fix segfault in EIA-708 code