[FFmpeg-devel] [PATCH V1 2/4] lavc/hevcdec: fix the HEVC decoder crash when memory over-read

mypopy at gmail.com mypopy at gmail.com
Mon Apr 20 05:11:16 EEST 2020


On Sun, Apr 12, 2020 at 9:18 AM mypopy at gmail.com <mypopy at gmail.com> wrote:
>
> On Sat, Apr 11, 2020 at 10:48 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> >
> > Am Sa., 11. Apr. 2020 um 16:24 Uhr schrieb mypopy at gmail.com <mypopy at gmail.com>:
> > >
> > > On Mon, Mar 30, 2020 at 4:52 PM mypopy at gmail.com <mypopy at gmail.com> wrote:
> > > >
> > > > On Mon, Mar 30, 2020 at 4:31 PM Jun Zhao <mypopydev at gmail.com> wrote:
> > > > >
> > > > > From: qoroliang <qoroliang at tencent.com>
> > > > >
> > > > > Fix an occasional crash for hevc decoder in ARM 64 platform, the
> > > >                           typo: it's ARM 32 bits platform, not 64,
> > > > fixed in local
> > > > > root cause is the memory over read(read cross the memory boundary)
> > > > > in SAO NENO functions ff_hevc_sao_band_filter_neon_8 and
> > > > > ff_hevc_sao_edge_filter_neon_8.
> > > > >
> > > > > After this fix, the crash disapper in the massive Android phone
> > > > > test.
> > > > >
> > > Ping,  this issue will lead to some crash in ARM device, so pls help
> > > to review the fix, thx.
> >
> > Is there a sample that allows to reproduce?
> >
>
> In fact, this is a probabilistic problem, we can only find this
> problem in large-scale product testing, and catch the coredump in a
> small number of Android mobile phones
>
> > Carl Eugen
Will apply, tks


More information about the ffmpeg-devel mailing list