Skip to content

subtitles: fix use of invalid pointer

should asprintf() fail, leaving the pointer in an undefined state, we must ensure the null entry is written over it, rather than in the next entry, else the calling code when looping over the list will read it.

Split from !1085 (closed).

Merge request reports

Loading