[FFmpeg-devel] [FFmpeg-cvslog] avcodec/hcadec: support decoding with extradata provided in first packet

Michael Niedermayer michael at niedermayer.cc
Wed Oct 4 20:22:54 EEST 2023


On Mon, Oct 02, 2023 at 10:56:20PM -0300, James Almer wrote:
> On 10/2/2023 7:23 PM, Michael Niedermayer wrote:
> > Hi
> > 
> > On Tue, Sep 05, 2023 at 09:25:45PM +0000, Paul B Mahol wrote:
> > > ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Sep  5 23:14:58 2023 +0200| [d464a687c9dd03246795d62151809167e8381932] | committer: Paul B Mahol
> > > 
> > > avcodec/hcadec: support decoding with extradata provided in first packet
> > 
> > I cannot find this patch on the mailing list
> > 
> > Also this adds null pointer writes
> > The init_hca() function which previously was only called once and failure
> > ended all further processing now is called optionally per frame and its
> > failure does not stop further processing so half initialized contexts
> > can be created by an attacker
> > 
> > Note, this sort of stuff delays the release
> > 
> > thx
> 
> Does the following fix it?

the testcase no longer crashes with this

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231004/8166422b/attachment.sig>


More information about the ffmpeg-devel mailing list