#7527: segfault in libavformat/hlsenc.c hls_delete_old_segments() ------------------------------------+------------------------------------ Reporter: caspy | Owner: Type: defect | Status: new Priority: important | Component: avformat Version: git-master | Resolution: Keywords: hls crash | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------
Comment (by caspy): Replying to [comment:5 stevenliu]: > https://patchwork.ffmpeg.org/patch/10889/ > > This is better than the first patch. this patch fixes the issue too. please, take a look few lines bellow, there is one more unconditional access to 'dirname' in subtitles block: {{{ if ((segment->sub_filename[0] != '\0')) { ... av_strlcpy(sub_path, dirname, sub_path_size); av_strlcat(sub_path, segment->sub_filename, sub_path_size); }}} but i do not use subtitles and know nothing about them. so, i will not be able to test this part. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7527#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac