Change #266235
| Category | ffmpeg |
| Changed by | huanghuihui0904 <625173@qq.com> |
| Changed at | Sun 03 May 2026 22:32:16 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | b40d91cad92f2f694045a6a7b69f117b3dcfa19c |
Comments
avformat: avoid potential tmp_opts leak in ffurl_connect() When options is NULL, ffurl_connect() creates a temporary dictionary (tmp_opts). If the protocol_blacklist av_dict_set() fails after the whitelist entry was inserted, the function returns without freeing this dictionary. Ensure tmp_opts is freed on this error path. Signed-off-by: Huihui_Huang <hhhuang@smu.edu.sg> Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Changed files
- libavformat/avio.c