Michael Niedermayer
e028020213
avfilter/vf_signature: Fix integer overflow in filter_frame()
...
Fixes: CID1403233
The second of the 2 changes may be unneeded but will help coverity
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit dd6040675e
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
273a3c5b82
avformat/rtsp: break on unknown protocols
...
This function needs more cleanup and it lacks error handling
Fixes: use of uninitialized memory
Fixes: CID700776
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 73c0fd27c5
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
c03f09f6f4
avcodec/hevcdsp_template: stay within tables in sao_band_filter()
...
Fixes: out of array read
Fixes: 47875/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5719393113341952
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 9c5250a561
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
5bf38f660c
avcodec/tiff: Check pixel format types for dng
...
Fixes: out of array access
Fixes: 48271/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-6149705769287680
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 75f3d1b822
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
dac6f854a9
avcodec/qpeldsp: copy less for the mc0x cases
...
Fixes: out of array access
Fixes: 47936/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5745039940124672
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit e690d4edf5
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
024b94bab3
avformat/aaxdec: Check for empty segments
...
Fixes: Timeout
Fixes: 48154/clusterfuzz-testcase-minimized-ffmpeg_dem_AAX_fuzzer-5149094353436672
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit db31b3ea86
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
89685f280a
avcodec/ffv1dec: Limit golomb rice coded slices to width 8M
...
This limit is possibly not reachable due to other restrictions on buffers but
the decoder run table is too small beyond this, so explicitly check for it.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit b4431399ec
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
b5fc01adbe
avformat/iff: simplify duration calculation
...
Fixes: signed integer overflow: 315680096256 * 134215943 cannot be represented in type 'long long'
Fixes: 48713/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-5886272312311808
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 0740641e93
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
048f3714c2
avcodec/wnv1: Check for width =1
...
The decoder only outputs pixels for width >1 images, fail early
Fixes: Timeout
Fixes: 48298/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WNV1_fuzzer-6198626319204352
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit d98d5a436a
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
ae8aabe398
avcodec/ffv1dec_template: fix indention
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit eee7364c90
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
47dc801ec0
avformat/sctp: close socket on errors
...
This is untested as i have no testcase
Fixes: CID1302709
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit c9a2996544
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
abbf22ac63
avformat/cinedec: Check size and pos more
...
Fixes: signed integer overflow: 9223372036848019263 + 134232320 cannot be represented in type 'long'
Fixes: 48155/clusterfuzz-testcase-minimized-ffmpeg_dem_CINE_fuzzer-5751429207293952
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 884a108121
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
ab936ed53e
avcodec/aasc: Fix indention
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit af2ed09220
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
0ba8bf7011
avcodec/qdrw: adjust max colors to array size
...
Fixes: out of array access
Fixes: 48429/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QDRAW_fuzzer-4608329791438848
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit cd847f86d3
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
b03a42587f
avcodec/alacdsp: Make intermediates unsigned
...
Fixes: signed integer overflow: -14914387 + -2147418648 cannot be represented in type 'int'
Fixes: 46464/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALAC_fuzzer-474307197311385
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 8709f4c10a
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
9764ec67b2
avformat/aiffdec: cleanup size handling for extreem cases
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit c6f1e48b86
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
dccf8c591a
avformat/matroskadec: avoid integer overflows in SAR computation
...
This ignores >64bit
Alternatively we could support that if it occurs in reality
Fixes: negation of -9223372036854775808
Fixes: integer overflows
Fixes: 46072/clusterfuzz-testcase-minimized-ffmpeg_dem_MATROSKA_fuzzer-5029840966778880
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit e6cad01122
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
bc24cf32f3
avcodec/jpeglsdec: fix end check for xfrm
...
Fixes: out of array access
Fixes: 47871/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMV_fuzzer-5646305956855808
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 6a82412bf3
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
ccf14bcbe4
avcodec/cdgraphics: limit scrolling to the line
...
Fixes: out of array access
Fixes: 47877/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CDGRAPHICS_fuzzer-5690504626438144
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit b7e30a13d4
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
40ed3f6e84
avformat/hls: Limit start_seq_no to one bit less
...
This avoids overflow checks on additions with 32bit numbers
Fixes: signed integer overflow: 9223372036854775806 + 2 cannot be represented in type 'long'
Fixes: 44012/clusterfuzz-testcase-minimized-ffmpeg_dem_HLS_fuzzer-4747770734444544
Fixes: 48065/clusterfuzz-testcase-minimized-ffmpeg_dem_HLS_fuzzer-5372410355908608
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit d8ee014254
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
a9ccfc1210
avformat/aiffdec: avoid integer overflow in get_meta()
...
Fixes: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
Fixes: 45891/clusterfuzz-testcase-minimized-ffmpeg_dem_AIFF_fuzzer-6159183893889024
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 6a02de2127
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
9db37b02ed
avformat/aaxdec: Check for overlaping segments
...
Fixes: Timeout
Fixes: 45875/clusterfuzz-testcase-minimized-ffmpeg_dem_AAX_fuzzer-6121689903136768
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit c16a0ed242
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
39f15f6663
avformat/ape: more bits in size for less overflows
...
Fixes: signed integer overflow: 2147483647 + 3 cannot be represented in type 'int'
Fixes: 46184/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-4678059519770624
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit e5f6707a7b
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
540ad9ddbd
avformat/aviobuf: Check buf_size in ffio_ensure_seekback()
...
buffer_size is an int
Fixes: signed integer overflow: 9223372036854775754 + 32767 cannot be represented in type 'long'
Fixes: 45691/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-5263458831040512
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit c4b130e876
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
25d7f2eed5
avformat/bfi: Check offsets better
...
Fixes: signed integer overflow: -2145378272 - 538976288 cannot be represented in type 'int'
Fixes: 45690/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-5015496544616448
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 35dc93ab44
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
6a60c92be0
avformat/asfdec_f: Check packet_frag_timestamp
...
Fixes: signed integer overflow: -9223372036854775808 - 4607 cannot be represented in type 'long'
Fixes: 45685/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-5280102802391040
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit ffc8772150
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
bfb365e851
avcodec/texturedspenc: Fix indexing in color distribution determination
...
Fixes CID1396405
MSE and PSNR is slightly improved, and some noticable corruptions disappear as
well.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
(cherry picked from commit ade36d61de
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
b9bda06ea5
avformat/act: Check ff_get_wav_header() for failure
...
Fixes: missing error check
Fixes: CID717495
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 5982da87e3
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
0cbe98cbbe
avcodec/libxavs2: Improve r redundancy in occured
...
Reviewed-by: "mypopy@gmail.com " <mypopy@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit f3b7ba21ba
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
b00df63465
avformat/libzmq: Improve r redundancy in occured
...
Reviewed-by: "mypopy@gmail.com " <mypopy@gmail.com >
(cherry picked from commit e06b1ba7d7
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
0327a29c93
avfilter/vf_libplacebo: Match AV_OPT_TYPE_FLOAT to dbl
...
Reviewed-by: "mypopy@gmail.com " <mypopy@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 0a3e121798
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
e509fa78c1
avfilter/vsrc_mandelbrot: Check for malloc failure
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit fbd22504c4
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
6a32a608dc
avfilter/vf_frei0r: Copy to frame allocated according to frei0r requirements
...
Fixes: issues with non trivial linesize
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit d353909e77
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
5e821d9143
avfilter/video: Add ff_default_get_video_buffer2() to set specific alignment
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit d740782701
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-09-01 00:41:28 +02:00
Michael Niedermayer
0af520417b
avformat/genh: Check sample rate
...
Fixes: signed integer overflow: -2515507630940093440 * 4 cannot be represented in type 'long'
Fixes: 46318/clusterfuzz-testcase-minimized-ffmpeg_dem_GENH_fuzzer-5009637474172928
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit a3d790f197
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-08-31 21:35:14 +02:00
Michael Niedermayer
14d8814edc
avformat/demux: Use unsigned to check duration vs duration_text
...
Fixes: signed integer overflow: 9223371898743775808 - -138111000000 cannot be represented in type 'long'
Fixes: 46245/clusterfuzz-testcase-minimized-ffmpeg_dem_OGG_fuzzer-5075129786302464
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 6007d5688c
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-08-31 21:35:14 +02:00
Timo Rothenpieler
54e0971edb
avutil/hwcontext_d3d11va: fix texture_infos writes on non-fixed-size pools
2022-07-18 02:13:25 +02:00
Zhao Zhili
7389a49fd3
avcodec/cuviddec: fix null pointer dereference
...
It can happened on error path of cuvid_decode_init().
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org >
2022-06-26 21:50:30 +02:00
Zhao Zhili
3607d7bbea
avcodec/cuviddec: fix AV1 decoding error
...
cuvidParseVideoData only supports pure OBUs, it reports an unknown
error with AV1CodecConfigurationRecord. Check whether extradata
is AV1CodecConfigurationRecord and skip the first 4 bytes to fix
the issue.
The bug is revealed in ffmpeg cmd since 45e3b6a68
and ffd1316e
.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org >
2022-06-26 21:50:28 +02:00
Christopher Degawa
240d82f26e
configure: extend SDL check to accept all 2.x versions
...
sdl2 recently changed their versioning, moving the patch level to minor level
cd7c2f1de7
and have said that they will instead ship sdl3.pc for 3.0.0
Fixes ticket 9768
Signed-off-by: Christopher Degawa <ccom@randomderp.com >
Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro >
2022-06-10 13:56:26 +02:00
Timo Rothenpieler
a5ebb3d25e
lavf/tls_mbedtls: add support for mbedtls version 3
...
- certs.h is gone. Only contains test data, and was not used at all.
- config.h is renamed. Was seemingly not used, so can be removed.
- MBEDTLS_ERR_SSL_NO_USABLE_CIPHERSUITE is gone, instead
MBEDTLS_ERR_SSL_HANDSHAKE_FAILURE will be thrown.
- mbedtls_pk_parse_keyfile now needs to be passed a properly seeded
RNG. Hence, move the call to after RNG seeding.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org >
2022-04-27 18:46:14 +02:00
James Almer
b655beb025
fate: update reference files after the recent dash manifest muxer changes
...
Missed in 487b49d8f2
.
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit aa0829d834
)
2022-04-08 16:10:34 -03:00
James Almer
2db2bdabbd
avformat/webmdashenc: fix on-demand profile string
...
Fixes ticket #9596
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 487b49d8f2
)
2022-04-08 00:05:07 -03:00
James Almer
0d487be837
avcodec/libdav1d: don't depend on the event flags API to init sequence params the first time
...
A bug was found in dav1d <= 1.0.0 where the event flag New Sequence Header would
not be signaled for some samples using delayed random access points.
It has since been fixed, but nonetheless it's best to ensure the AVCodecContext
is filled with parameters when parsing the first frame, regardless of what events
were signaled.
Fixes ticket #9694 .
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 3e186148ca
)
2022-04-07 15:33:19 -03:00
Michael Niedermayer
9687cae2b4
Update for 5.0.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
n5.0.1
2022-04-04 00:07:14 +02:00
Michael Niedermayer
70522b7262
avcodec/exr: Avoid signed overflow in displayWindow
...
The inputs are unused except for this computation so wraparound
does not give an attacker any extra values as they are already fully
controlled
Fixes: signed integer overflow: 0 - -2147483648 cannot be represented in type 'int'
Fixes: 45820/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-5766159019933696
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 1291568c98
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-04-04 00:05:36 +02:00
Michael Niedermayer
1ed490b9dc
avcodec/diracdec: avoid signed integer overflow in global mv
...
Fixes: signed integer overflow: -128275513086 * -76056576 cannot be represented in type 'long'
Fixes: 45818/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5129799149944832
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 7f1279684e
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-04-04 00:05:36 +02:00
Michael Niedermayer
9cd9f958eb
avcodec/takdsp: Fix integer overflow in decorrelate_sf()
...
Fixes: signed integer overflow: -101 * 71041254 cannot be represented in type 'int'
Fixes: 45938/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TAK_fuzzer-4687974320701440
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 01d8c887f6
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-04-04 00:05:36 +02:00
Michael Niedermayer
89374decf6
avcodec/apedec: fix a integer overflow in long_filter_high_3800()
...
Fixes: signed integer overflow: -2146549696 - 3923884 cannot be represented in type 'int'
Fixes: 45907/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5992380584558592
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit b085b400be
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-04-04 00:05:36 +02:00
Diederick Niehorster
3010773508
avdevice/dshow: fix regression
...
a1c4929f
accidentally undid part of d9a9b4c8
, so the bug in ticket #9420
resurfaced. Fixing again.
Signed-off-by: Diederick Niehorster <dcnieho@gmail.com >
Reviewed-by: Roger Pack <rogerdpack2@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit f125c504d8
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2022-04-04 00:05:36 +02:00