swscale/swscale_unscaled: Fix odd height with nv24_to_yuv420p_chroma()

Fixes: out of array read
Fixes: 71726/clusterfuzz-testcase-ffmpeg_SWS_fuzzer-5876893532880896
Fixes: 377735917/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-6686071112400896

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Approved-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/391/head
Michael Niedermayer 4 months ago
parent 5ba63f0ef1
commit d32dcc07a7
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
Loading…
Cancel
Save