[FFmpeg-trac] #8614(undetermined:new): FD are not closed when using ffmpeg compiled against mbedtls

FFmpeg trac at avcodec.org
Sun Apr 12 18:14:18 EEST 2020


#8614: FD are not closed when using ffmpeg compiled against mbedtls
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  TotalJustice                       |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  mbedtls      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 After opening any tls connection with ffmpeg compiled against mbedtls, the
 fd will not be closed after.

 I found this bug as i was making a movie player for the Switch (limited
 open fd at one time), it would eventually crash. I found that I can
 reproduce this on Linux PC. This bug is not present when compiled against
 openssl.

 I have tried the latest master commit (as of the time and date of
 submitting).

 How to reproduce:
 I wrote a short example code. I have commented the effect of the bug with
 a way to examine the fd not being closed.
 https://gist.github.com/ITotalJustice/04275c341a30e028c9eb9873cf1c242f

 I hope this helps.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8614>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list