[FFmpeg-devel] memory corruption in avio_read
Mikhail I Izmestev
im at cgtribe.com
Fri Feb 10 16:24:33 CET 2012
09.02.2012, в 14:13, "Mikhail I. Izmestev" <im at cgtribe.com> написал(а):
> 09.02.2012 11:47, Mikhail I. Izmestev wrote:
> [...]
>>
>> ffmpeg version 0.7.3, Copyright (c) 2000-2011 the FFmpeg developers
>> built on Sep 8 2011 14:51:33 with gcc 4.5.4 20110822 (prerelease)
>> configuration: --enable-shared --disable-static --enable-memalign-hack --disable-avfilter --arch=x86_64 --cross-prefix=x86_64-w64-mingw32- --target-os=mingw32 --disable-dxva2
>> libavutil 50. 43. 0 / 50. 43. 0
>> libavcodec 52.122. 0 / 52.122. 0
>> libavformat 52.110. 0 / 52.110. 0
>> libavdevice 52. 5. 0 / 52. 5. 0
>> libswscale 0. 14. 1 / 0. 14. 1
>>
>> this is not latest version, so is this corruption was fixed in latest code?
> I have found commit
>
> commit f5978250524f03364c4c67f14dab86db66f7a908
> Author: Michael Niedermayer<michaelni at gmx.at>
> Date: Sat Aug 27 21:24:13 2011 +0200
>
> Fix memory corruption incase of memory allocation failure in av_probe_input_buffer()
>
> Reported-by: Tanami Ohad
> Signed-off-by: Michael Niedermayer<michaelni at gmx.at>
> (cherry picked from commit 941bb552c6e08b40eb7d7842df19285cd650edd0)
>
>
> looks like it make sense in my case.
>
Problem caused due to not thread safe call of av_read_frame.
Mikhail.
More information about the ffmpeg-devel
mailing list