[FFmpeg-devel] [PATCH]Avoid null pointer dereference on oom after duration_error allocation
Bobby Bingham
koorogi at koorogi.info
Wed Jul 10 06:00:51 CEST 2013
On Tue, Jul 09, 2013 at 10:25:09PM +0000, Paul B Mahol wrote:
> On 7/9/13, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> > Hi!
> >
> > Also found while testing ticket #2566.
> >
> > Please comment, Carl Eugen
> >
>
> No point to check same thing twice.
It isn't. If it's null at the first check, it tries to av_mallocz it.
The new check is looking at the result of that allocation.
--
Bobby Bingham
このメールは再利用されたバイトでできている。
More information about the ffmpeg-devel
mailing list