[FFmpeg-devel] [PATCH v2 1/1] return value check for init_get_bits in adts_decode_extradata

Michael Niedermayer michael at niedermayer.cc
Fri Aug 6 17:48:33 EEST 2021


On Thu, Aug 05, 2021 at 11:06:00AM +0000, Maryam Ebrahimzadeh wrote:
> Ping.
> 
> > On Aug 5, 2021, at 12:45 AM, maryam ebrahimzadeh <me22bee at outlook.com> wrote:
> > 
> > version2:
> > As second argument for init_get_bits (buf) can be crafted, return value check for this function call is necessary.
> > 'buf' is  part of  'AVPacket pkt'.
> > replace init_get_bits with init_get_bits8.
> > ---
> > libavformat/adtsenc.c | 6 ++++--
> > 1 file changed, 4 insertions(+), 2 deletions(-)

will apply

thx

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

If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- 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/20210806/852bcbfe/attachment.sig>


More information about the ffmpeg-devel mailing list