Opened 5 years ago
Closed 5 years ago
Last modified 5 years ago
#13436 closed Bug Report - Crash (fixed)
Potential crash in CC708 append_cc function.
Reported by: | David Hampton | Owned by: | David Hampton |
---|---|---|---|
Priority: | minor | Milestone: | 30.1 |
Component: | MythTV - Captions | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
This function calls the rightsize_buf function, which attempts to reallocate a buffer if there isn't enough space. It is possible, but extremely unlikely, that the reallocation will fail and the buffer will be replaced with a nullptr. Any attempt to dereference that nullptr will crash the frontend.
Note: See
TracTickets for help on using
tickets.
In d0356aba3c/mythtv: