[FFmpeg-trac] #5584(undetermined:closed): FFmpeg libraries leak 1MiB memory chunks on corrupt files
FFmpeg
trac at avcodec.org
Tue Jun 14 12:54:53 CEST 2016
#5584: FFmpeg libraries leak 1MiB memory chunks on corrupt files
-------------------------------------+-------------------------------------
Reporter: mocmaint | Owner:
Type: defect | Status: closed
Priority: important | Component:
Version: git-master | undetermined
Keywords: leak | Resolution: wontfix
regression | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by mocmaint):
* status: new => closed
* resolution: => wontfix
Comment:
For one thing, if you allocate your own custom AVIO context, you also need
to free it with avio_close(p), avformat_close_input is not going to do it
for you (since you allocated it, and thus manage it).
I obviously misinterpreted the avio_close() comment:
"This function can only be used if s was opened by avio_open()."
as meaning that avio_close() can only be used if s was opened by
avio_open().
Otherwise, unless you can provide proper valgrind output with backtraces
where these buffers are allocated, you really should not expect us to go
digging for any possible fault somewhere.
Oh, okay then. I'm sorry I didn't provide enough information above.
If it would be a common problem, it would've shown up before.
Yeah, I do have a reputation for finding bugs no one else has spotted.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5584#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list