Re: [FFmpeg-devel] [PATCH 01/12] ffprobe: only hash extradata when it is present

2021-04-26 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2021-04-26 13:38:14) > Anton Khirnov: > > Passing zero-sized/NULL buffers to av_hash_update() is invalid and may > > crash with certain hashes. > > --- > > fftools/ffprobe.c | 7 +-- > > tests/ref/fate/hapqa-extract-nosnappy-t

Re: [FFmpeg-devel] [PATCH 01/12] ffprobe: only hash extradata when it is present

2021-04-26 Thread Andreas Rheinhardt
Anton Khirnov: > Passing zero-sized/NULL buffers to av_hash_update() is invalid and may > crash with certain hashes. > --- > fftools/ffprobe.c | 7 +-- > tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov | 1 - > tests/ref/fate/hapqa-extract-nosn

[FFmpeg-devel] [PATCH 01/12] ffprobe: only hash extradata when it is present

2021-04-25 Thread Anton Khirnov
Passing zero-sized/NULL buffers to av_hash_update() is invalid and may crash with certain hashes. --- fftools/ffprobe.c | 7 +-- tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov | 1 - tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov |