[FFmpeg-devel] [PATCH] avcodec.h: document padding requirements for get_buffer() callback.

Michael Niedermayer michael at niedermayer.cc
Sun Jan 5 20:19:44 EET 2025


Hi

On Thu, Jan 02, 2025 at 06:09:19PM -0500, Ronald S. Bultje wrote:
> Hi,
> 
> On Thu, Jan 2, 2025 at 5:48 PM James Almer <jamrial at gmail.com> wrote:
> 
> > On 1/2/2025 7:39 PM, Ronald S. Bultje wrote:

[...]

> > And for that matter, see fuzz_video_get_buffer() in
> > tools/target_dec_fuzzer.c, where no such thing is done precisely to
> > simulate what a user reading this doxy might do with their own custom
> > callback. This padding should in theory not be a requirement when
> > avcodec_align_dimensions2() is documented as handling this stuff.
> >
> 
> I assume the fuzzer runs on x86, so that doesn't expose behaviour in SIMD
> on alternate platforms.

It seems google only fuzzes 32 and 64bit x86

there are a few relaetd issues on ossfuzz

https://github.com/google/oss-fuzz/issues/8164
https://github.com/google/oss-fuzz/pull/4591

and plenty more closed ones

thx

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

Nations do behave wisely once they have exhausted all other alternatives. 
-- Abba Eban
-------------- 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/20250105/15fe11c0/attachment.sig>


More information about the ffmpeg-devel mailing list