Andreas Rheinhardt
da4b64ea02
avfilter/asrc_sine: Fix invalid left shift of negative number
...
by using a multiplication instead. The multiplication can never overflow
an int because the sin-factor is only an int16_t.
Affected the FATE-tests filter-concat and filter-concat-vfr.
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit 55b46902c1
)
2021-04-02 21:38:21 +02:00
Andreas Rheinhardt
9f011f0876
avformat/webmdashenc: Don't pass NULL to memcmp
...
Affects the FATE-tests webm-dash-manifest-unaligned-video-streams,
webm-dash-manifest and webm-dash-manifest-representations.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit a42c47b77f
)
2021-04-02 21:38:12 +02:00
Andreas Rheinhardt
955be73bc5
avformat/libmodplug: Fix memleaks on error
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit df6dc331dd
)
2021-04-02 21:37:20 +02:00
Andreas Rheinhardt
3f94e061cb
avformat/libgme: Fix memleaks on errors
...
Also free the gme_info_t structure immediately after its use.
This simplifies cleanup, because it might be unsafe to call
gme_free_info(NULL) (or even worse, gme_track_info() might even
on error set the pointer to the gme_info_t structure to something
else than NULL).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit 05457a3661
)
2021-04-02 21:37:09 +02:00
Andreas Rheinhardt
a01cf1fe54
avformat/aadec: Fix leak on error
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit 3ec3370dea
)
2021-04-02 21:37:00 +02:00
Andreas Rheinhardt
fe8ae68738
avformat/jacosubdec: Fix leak on error
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit 4f11685e4c
)
2021-04-02 21:36:51 +02:00
Andreas Rheinhardt
3f851a7719
avcodec/vc1dec: Postpone allocating sprite frame to avoid segfault
...
Up until now, the VC-1 decoders allocated an AVFrame for usage with
sprites during vc1_decode_init(); yet said AVFrame can be freed if
(re)initializing the context (which happens ordinarily during decoding)
fails. The AVFrame does not get allocated again lateron in this case,
leading to segfaults.
Fix this by moving the allocation of said frame immediately before it is
used (this also means that said frame won't be allocated at all any more
in case of a regular (i.e. non-image) stream).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit ea70c39dee
)
2021-04-02 21:36:31 +02:00
Andreas Rheinhardt
b4b3af795c
avcodec/avcodec: Update check for identical colorspace/primaries/trc names
...
If the numerical constants for colorspace, transfer characteristics
and color primaries coincide, the current code presumes the
corresponding names to be identical and prints only one of them obtained
via av_get_colorspace_name(). There are two issues with this: The first
is that the underlying assumption is wrong: The names only coincide in
the 0-7 range, they differ for more recent additions. The second is that
av_get_colorspace_name() is outdated itself; it has not been updated
with the names of the newly defined colorspaces.
Fix both of this by using the names from
av_color_(space|primaries|transfer)_name() and comparing them via
strcmp; don't use av_get_colorspace_name() at all.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit e65a5df4fa
)
2021-04-02 21:36:20 +02:00
Andreas Rheinhardt
0bbf1f4785
avcodec/avcodec: Don't use NULL for %s printf specifier
...
Our "get name" functions can return NULL for invalid/unknown
arguments. So check for this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit 88b7d9fd36
)
2021-04-02 21:35:55 +02:00
Andreas Rheinhardt
a57ba45eb4
avformat/webpenc: Fix memleak when trailer is never written
...
When the trailer is never written (or when a stream switches from
non-animation mode to animation mode mid-stream), a cached packet
(if existing) would leak. Fix this by adding a deinit function.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit 3903c139a9
)
2021-04-02 21:35:42 +02:00
Andreas Rheinhardt
ceb5863d04
avformat/webpenc: Fix memleak when using invalid packets
...
The WebP muxer sometimes caches a packet it receives to write it later;
yet if a cached packet is too small (so small as to be invalid),
it is cached, but not written and not unreferenced. Such a packet leaks,
either by being overwritten by the next packet or because it is never
unreferenced at all.
Fix this by not caching unusable packets at all; and error out on
invalid packets.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
(cherry picked from commit f9043de99a
)
2021-04-02 21:35:29 +02:00
Zane van Iperen
cc8eba0ab8
avcodec/adpcmenc: don't share a single AVClass between multiple AVCodecs.
...
Temporary fix until AVClass::child_class_next is gone.
Reviewed-By: James Almer <jamrial@gmail.com >
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com >
(cherry picked from commit aa1cfe05a5
)
2021-04-02 09:01:59 +10:00
Michael Niedermayer
829d4b009f
avcodec/pnm_parser: Check image size addition for overflow
...
Fixes: assertion failure
Fixes: out of array access
Fixes: 32664/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-6533642202513408.fuzz
Fixes: 32669/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-6001928875147264
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 79ac8d5546
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:45 +02:00
Michael Niedermayer
426c52c2ce
avcodec/lscrdec: Check length in decode_idat()
...
Fixes: out of array access
Fixes: 32264/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LSCR_fuzzer-6684504010915840
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 c01cd2a8b2
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:45 +02:00
Michael Niedermayer
15f1648f7f
tools/target_dem_fuzzer: Fix packet leak
...
Fixes: 32121/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-4512973109460992
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 6055b93379
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:45 +02:00
Michael Niedermayer
45f40cec3a
avformat/imx: Check palette chunk size
...
Fixes: out of array write
Fixes: 32116/clusterfuzz-testcase-minimized-ffmpeg_dem_SIMBIOSIS_IMX_fuzzer-6702533894602752
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 f7a5150447
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:45 +02:00
Michael Niedermayer
de9f4351fa
avcodec/h265_metadata_bsf: Check nb_units before accessing the first in h265_metadata_update_fragment()
...
Fixes: null pointer dereference
Fixes: 32113/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-4803262287052800
Same as 0c48c332ee
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 497ea04dbd
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:45 +02:00
Michael Niedermayer
1ff644e509
avformat/rmdec: use larger intermediate type for audio_framesize * sub_packet_h check
...
Fixes: signed integer overflow: 65535 * 65535 cannot be represented in type 'int'
Fixes: 31406/clusterfuzz-testcase-minimized-ffmpeg_dem_IVR_fuzzer-5024692843970560
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 cf2fd9204b
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:45 +02:00
Michael Niedermayer
698d768d21
avcodec/exr: Check oe in huf_decode() before use
...
Fixes: out of array access
Fixes: 31386/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-5773234709594112
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 9e8475c7c7
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:45 +02:00
Michael Niedermayer
137c998b48
avcodec/h264_slice: Check input SPS in ff_h264_update_thread_context()
...
Fixes: crash
Fixes: check_pkt.mp4
Found-by: Rafael Dutra <rafael.dutra@cispa.de >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit ceae92cb29
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
d416d7f061
avcodec/mpegpicture: Keep ff_mpeg_framesize_alloc() failure state consistent
...
Fixes: null pointer dereference
Fixes: ff_put_pixels16_sse2.mp4
Found-by: Rafael Dutra <rafael.dutra@cispa.de >
Regression-since: 4b2863ff01
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 76cea1d2ce
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
807b703a48
avformat/mpc8: check for size overflow in mpc8_get_chunk_header()
...
Fixes: signed integer overflow: -9223372036854775760 - 50 cannot be represented in type 'long'
Fixes: 31673/clusterfuzz-testcase-minimized-ffmpeg_dem_MPC8_fuzzer-580134751869337
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 6cc65d3d67
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
5978b8bd9c
avformat/mov: Do not zero memory that is written too or unused
...
Fixes: OOM
Fixes: 31220/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-6033383962574848
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 c1fe1114bc
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
ac0e9506d0
avcodec/mpegvideo: Update chroma_?_shift in ff_mpv_common_frame_size_change()
...
Fixes: out of array access
Fixes: 31201/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-4627865612189696.fuzz
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 87d87e6587
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
be3225153e
avformat/mov: Ignore multiple STSC / STCO
...
Fixes: STSC / STCO inconsistency and assertion failure
Fixes: crbug1184666.mp4
Found-by: Chromium ASAN fuzzer
Reviewed-by: Matt Wolenetz <wolenetz@google.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 2611d20d35
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
9b25cf8b06
avformat/utils: Extend overflow check in dts wrap in compute_pkt_fields()
...
Fixes: signed integer overflow: -9223372032574480351 - 4294967296 cannot be represented in type 'long long'
Fixes: 30022/clusterfuzz-testcase-minimized-ffmpeg_dem_KUX_fuzzer-5568610275819520
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 b37ff29e0e
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
f8fc6416b2
avfilter/vf_scale: Fix adding 0 to NULL (which is UB) in scale_slice()
...
Found-by: Jeremy Leconte <jleconte@google.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 1cf96ce269
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
18bcfa81fc
avutil/common: Add FF_PTR_ADD()
...
Suggested-by: Andreas Rheinhardt
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 522a5259e9
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
8c99a06c5c
avcodec/setts_bsf: Check timebase
...
Fixes: Division by 0
Fixes: 30952/clusterfuzz-testcase-minimized-ffmpeg_BSF_SETTS_fuzzer-6601016202100736
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 7fc8ba9068
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
9179ab9227
avformat/wtvdec: Check size in SBE2_STREAM_DESC_EVENT / stream2_guid
...
Fixes: signed integer overflow: 539033600 - -1910497124 cannot be represented in type 'int'
Fixes: 30928/clusterfuzz-testcase-minimized-ffmpeg_dem_WTV_fuzzer-5922630966312960
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 1f74661543
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
6ef700dfb0
avformat/utils: Fix integer overflow with duration_gcd in ff_rfps_calculate()
...
Fixes: signed integer overflow: 136323327 * 281474976710656 cannot be represented in type 'long'
Fixes: 30913/clusterfuzz-testcase-minimized-ffmpeg_dem_IVF_fuzzer-5753392189931520
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 6dc6e1cce0
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
72a03b3c06
tools/target_dec_fuzzer: Adjust threshold for H264
...
Fixes: Timeout (too long -> 3sec)
Fixes: 28047/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-4662727980875776
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 46c4f39307
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
ee059d8ef8
avformat/cafdec: Do not build an index if all packets are the same
...
Fixes: Timeout
Fixes: 28214/clusterfuzz-testcase-minimized-ffmpeg_dem_CAF_fuzzer-6495999421579264
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 ea12590c8e
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
419f62c902
avformat/vividas: Use equals check with n in read_sb_block()
...
Fixes: OOM
Fixes: 27780/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVIDAS_fuzzer-5097985075314688
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 e44214a824
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
59c05f51d5
avcodec/sonic: Use unsigned temporary in predictor_calc_error()
...
Fixes: signed integer overflow: -2147471366 - 18638 cannot be represented in type 'int'
Fixes: 30157/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SONIC_fuzzer-5171199746506752
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 075d793ba8
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
79ff380da7
avformat/jacosubdec: Use 64bit intermediate for start/end timestamp shift
...
Fixes: signed integer overflow: -1957694447 + -1620425806 cannot be represented in type 'int'
Fixes: 30207/clusterfuzz-testcase-minimized-ffmpeg_dem_JACOSUB_fuzzer-5050791771635712
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 2c477be08a
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
81178db83b
avformat/flvdec: Check array entry number
...
Fixes: signed integer overflow: -2147483648 - 1 cannot be represented in type 'int'
Fixes: 30209/clusterfuzz-testcase-minimized-ffmpeg_dem_FLV_fuzzer-5724831658147840
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 b5d8fe1c87
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
039ecef275
avcodec/h264_slice: Check sps in h264_slice_header_init()
...
Fixes: null pointer dereference
Fixes: h264_slice_header_init.mp4
Found-by: Rafael Dutra <rafael.dutra@cispa.de >
Tested-by: Rafael Dutra <rafael.dutra@cispa.de >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 8047243899
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
c5a61adcca
avformat/movenc: Avoid loosing cluster array on failure
...
Fixes: crash
Fixes: check_pkt.mp4
Found-by: Rafael Dutra <rafael.dutra@cispa.de >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 5c2ff44f91
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
095f50e06e
avformat/avidec: Check for dv streams before using priv_data in parse ##dc/##wb
...
Fixes: null pointer dereference
Fixes: 31588/clusterfuzz-testcase-minimized-ffmpeg_dem_AVI_fuzzer-6165716135968768
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit f733688d30
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
2af5b3fa08
avformat/mov: Check sample size for overflow in mov_parse_stsd_audio()
...
Fixes: signed integer overflow: 2 * 1914708000 cannot be represented in type 'int'
Fixes: 31639/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-6303428239294464
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 d35677736a
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
5d1e309e67
avcodec/sga: Check for array end in lzss_decompress()
...
Fixes: out of array access
Fixes: 31640/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SGA_fuzzer-5630883286614016
Fixes: 31619/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SGA_fuzzer-5176667708456960
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 e8bd34fe4f
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
9a3e525b7c
avformat/sbgdec: Check for overflow in last loop in expand_timestamps()
...
Fixes: signed integer overflow: 9223372036854775807 + 86400000000 cannot be represented in type 'long'
Fixes: 31003/clusterfuzz-testcase-minimized-ffmpeg_dem_SBG_fuzzer-6256298771480576
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit f44068db1e
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Michael Niedermayer
e42efdce95
avcodec/ffwavesynth: Avoid signed integer overflow in phi_at()
...
Fixes: signed integer overflow: 2314885530818453536 - -9070214327174160352 cannot be represented in type 'long'
Fixes: 31000/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFWAVESYNTH_fuzzer-6558389742206976
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit be08b84f8b
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-04-01 11:38:44 +02:00
Gyan Doshi
b26c6df919
rtpenc_mpegts: add AVClass to the muxer context
2021-04-01 09:36:26 +05:30
Gyan Doshi
7a74129fa9
avformat/rtpenc_mpegts: stop leaks
...
Fixes CID 1474460 & 1474461
2021-03-28 15:55:41 +05:30
Gyan Doshi
fd80c0b95f
avformat/rtpenc_mpegts: convey options for rtp muxer
...
Cherry-picked 2c806aa2b4
2021-03-26 14:44:31 +05:30
Gyan Doshi
a6dc1e84d2
avformat/rtpenc_mpegts: relay streamid to mpegts muxer streams.
...
Cherry-picked 325bb04188
2021-03-26 14:44:06 +05:30
Gyan Doshi
390b6f0cba
avformat/rtpenc_mpegts: convey options for mpeg-ts muxer
...
Fixes #5239
Cherry-picked affe911c65
2021-03-26 14:43:40 +05:30
Gyan Doshi
72389f7916
avformat/rtp_mpegts: typedef MuxChain struct
...
Cherry-picked 75fd3e1519
2021-03-26 14:43:08 +05:30