commit_msg
stringlengths
1
24.2k
commit_hash
stringlengths
2
84
project
stringlengths
2
40
source
stringclasses
4 values
labels
int64
0
1
repo_url
stringlengths
26
70
commit_url
stringlengths
74
118
commit_date
stringlengths
25
25
avcodec/flacdec: Fix undefined shift in decode_subframe() Fixes undefined behavior Fixes: 639961-media Found-by: Matt Wolenetz <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
1f5630af51f24d79053b6bef5b8b3ba93d637306
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1f5630af51f24d79053b6bef5b8b3ba93d637306
2016-12-04 00:12:06+01:00
avcodec/vdpau_hevc: Fix potential out-of-bounds write The maximum number of references is 16, so the index value cannot exceed 15. Fixes Coverity CID 1348139, 1348140, 1348141
4e6d1c1f4ec83000a067ff14452b34c1f2d2a43a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4e6d1c1f4ec83000a067ff14452b34c1f2d2a43a
2016-11-30 16:14:39-08:00
matroskadec: prevent access of elements after freeing Using the decode interrupt feature of ffmpeg may cause crashes by accessing previously freed pointers in matroska_read_close. To prevent this reset nb_elem to zero after freeing the elements, because ffmpeg normally tests for nb_elem. Signed-off-by: Andreas Cadhalpun <[email protected]>
18b94669372d3d4b6c51e347587ea64acef9dbb8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/18b94669372d3d4b6c51e347587ea64acef9dbb8
2016-11-30 01:15:38+01:00
ffplay: add support for negative RGBA linesize This fixes the crash reported in ticket #5947. Signed-off-by: Marton Balint <[email protected]>
58af48f1c3cc98afc1f25d494f197148801cf210
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/58af48f1c3cc98afc1f25d494f197148801cf210
2016-11-20 23:38:06+01:00
avcodec/avpacket: fix leak on realloc in av_packet_add_side_data() If realloc fails, the pointer is overwritten and the previously allocated buffer is leaked, which goes against the expected behavior of keeping the packet unchanged in case of error. Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
574929d8b6de32ae712fcca7ab09f01a3e4616be
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/574929d8b6de32ae712fcca7ab09f01a3e4616be
2016-11-19 20:23:25-03:00
libschroedingerdec: fix leaking of framewithpts Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
3c0328d58d98664b05efdd377d3fe66a569d385e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3c0328d58d98664b05efdd377d3fe66a569d385e
2016-11-16 19:31:11+01:00
avutil/frame: Copy size=0 side data in ff_init_buffer_info() Fixes null pointer dereference Fixes: 189/FOO Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
2acee08a4a53b6c8f5fc160e6d6da92f77208a06
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2acee08a4a53b6c8f5fc160e6d6da92f77208a06
2016-11-16 21:25:45+01:00
hls: fix leaking avio_opts on hls_read_header error Use the hls_close function to reduce code duplication. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
2c90316b46fce5785bc6af72c8fd369c31666604
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2c90316b46fce5785bc6af72c8fd369c31666604
2016-11-07 19:44:41+01:00
avcodec/movtextdec: Fix tsmb_size check==0 check Fixes: 173/fuzz-3-ffmpeg_SUBTITLE_AV_CODEC_ID_MOV_TEXT_fuzzer Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
a609905723c01e356d35146425c3d45c090aae7b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a609905723c01e356d35146425c3d45c090aae7b
2016-11-15 15:08:20+01:00
mov: immediately return from mov_fix_index without old index entries If there are no index entries, e_old = st->index_entries is only one byte large, since it was created by av_realloc called with size 0. Thus accessing e_old[0].timestamp causes a heap buffer overflow. Reviewed-by: Sasi Inguva <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
9d83b209d8861f1daf55f6719b1e0c226ed7269a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9d83b209d8861f1daf55f6719b1e0c226ed7269a
2016-11-01 18:45:34+01:00
interplayacm: check for too large b This fixes out-of-bounds reads. Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
14e4e26559697cfdea584767be4e68474a0a9c7f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/14e4e26559697cfdea584767be4e68474a0a9c7f
2016-10-30 22:38:03+01:00
mpegaudio: Do not print value of uninitialized variable libavcodec/mpegaudiodec_template.c:885:97: warning: variable 'x' is uninitialized when used here [-Wuninitialized]
255526998501f0040ae43fe4848c817a97fc578a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/255526998501f0040ae43fe4848c817a97fc578a
2016-10-27 12:21:46+02:00
aiff: check block_align in aiff_read_packet It can be unset in avcodec_parameters_from_context and a value of 0 causes SIGFPE crashes. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
93c39db5f1544d1220488cfeb93bfe812a52f374
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/93c39db5f1544d1220488cfeb93bfe812a52f374
2016-10-21 19:40:59+02:00
lavf/riffenc: Always write unexpected channel_mask. Allows to write arbitrary channel masks also for 16bit 48kHz pcm.
fe8959bbece4d86a1872b813c25c2682dcd5ef42
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fe8959bbece4d86a1872b813c25c2682dcd5ef42
2016-10-12 12:34:48+02:00
avcodec/alsdec: Fix mlz memleak Fixes: 0cee183a09bff5aa5108429717c35a4d/asan_heap-oob_1d99eca_3702_172c75af9868d4c2556a79cc2413f4cc.mp4 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
837e72b01608f286c957c5ac3ca3a28cea76e6e0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/837e72b01608f286c957c5ac3ca3a28cea76e6e0
2016-09-08 20:31:15+02:00
avformat/mov: Fix potential integer overflow in mov_read_keys Actual allocation size is computed as (count + 1)*sizeof(meta_keys), so we need to check that (count + 1) won't cause overflow. Signed-off-by: Michael Niedermayer <[email protected]>
347cb14b7cba7560e53f4434b419b9d8800253e7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/347cb14b7cba7560e53f4434b419b9d8800253e7
2016-09-08 11:35:44+02:00
avcodec/alsdec: Fix reading 0 mantisse bits Fixes assertion failure Fixes: 848c24abc1721c9e3d1ba7bfee8d9fcc/asan_heap-oob_1d99eca_3709_567bba70d67e7d62714dcf56f26fb1da.mp4 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
037422178d7f1d0dd09e1ce424dd61a69e77668b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/037422178d7f1d0dd09e1ce424dd61a69e77668b
2016-09-08 22:16:48+02:00
libavformat/rtpdec_asf: zero initialize the AVIOContext struct This fixes crash in avformat_open_input() when accessing protocol_whitelist field. Signed-off-by: Michael Niedermayer <[email protected]>
e947b75b1c76ef6793209c2c445b8c224a28717a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e947b75b1c76ef6793209c2c445b8c224a28717a
2016-07-25 19:39:13+02:00
riff: don't overwrite bps from WAVEFORMATEX if EXTENSIBLE doesn't contain that data. According to the specification on the MSDN [1], 0 is valid for that particular field, and it should be ignored in that case. [1]: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757714(v=vs.85).aspx Bug-Id: 950 Signed-off-by: Anton Khirnov <[email protected]>
7f549b8338ed3775fec4bf10421ff5744e5866dd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7f549b8338ed3775fec4bf10421ff5744e5866dd
2016-07-22 19:08:12+02:00
avcodec/wmalosslessdec: Use unsigned operations for overflowing cases Fixes undefined behavior in fate-lossless-wma24-2 Signed-off-by: Michael Niedermayer <[email protected]>
bacc4b6e8173fa944c24f297435dc507a60efb10
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bacc4b6e8173fa944c24f297435dc507a60efb10
2016-06-06 02:24:22+02:00
avformat/utils: avoid overflow in update_stream_timings() with huge durations Fixes: usan_granule_overflow Found-by: Thomas Guilbert <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
2be3007ed55f1513bcae3d2a076e71878f48eb03
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2be3007ed55f1513bcae3d2a076e71878f48eb03
2016-05-29 00:14:02+02:00
mp3: Make the extrasize explicit Initialize the bit buffer with the correct size (amount of bits that will be read) instead of relying on the bitstream reader overreading the correct values. Signed-off-by: Luca Barbato <[email protected]> Signed-off-by: Diego Biurrun <[email protected]>
74b1bf632f125a795e66e5fd0a060b9c7c55b7a3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/74b1bf632f125a795e66e5fd0a060b9c7c55b7a3
2016-05-22 23:07:54+02:00
hevc: Fix memory leak related to a53_caption data Signed-off-by: Will Kelleher <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
964f07f68e1cc4e2d585615e2b1a1fade269afb0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/964f07f68e1cc4e2d585615e2b1a1fade269afb0
2016-05-15 01:30:53+02:00
vf_colorspace: don't enable passthrough if bitdepth doesn't match. Also check return value of av_frame_copy() in passthrough mode, so that if a copy fails (as it did here, because bitdepth didn't match), the filter doesn't return success, which would mean sending an uninitialized framebuffer further down the filtergraph.
531ff7161d9d6b0cf8f71125319c1f5df5041637
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/531ff7161d9d6b0cf8f71125319c1f5df5041637
2016-05-10 09:26:17-04:00
swresample/resample: Fix division by 0 with tap_count=1 Signed-off-by: Michael Niedermayer <[email protected]>
feeb3a92616310b5f79191b0ef3064712c40b7d3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/feeb3a92616310b5f79191b0ef3064712c40b7d3
2016-05-16 05:10:21+02:00
h265_parse: skip zero sized NAL units Avoids extra error checks later on and/or invalid reads. Signed-off-by: Derek Buitenhuis <[email protected]>
d46e85635070fd2c4cd7cd4b97720e5868c1bfc1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d46e85635070fd2c4cd7cd4b97720e5868c1bfc1
2016-05-07 21:14:23+01:00
avformat/dump: Fix sign bug in reported "start" time Previously, the bug was that if -1 < start_time < 0, the reported "start" time would lose the negative-sign. Signed-off-by: Michael Niedermayer <[email protected]>
949444348b752664243681625f9f1d2c55b6dfaa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/949444348b752664243681625f9f1d2c55b6dfaa
2016-04-14 00:13:15+02:00
rtpdec_jpeg: fix low contrast image on low quality setting The problem is that the argument 'q' is of the type uint8_t. According to the JPEG standard, if 1 <= q <= 50, the scale factor 'S' should be 5000 / Q. Because the create_default_qtables() reuses the variable 'q' to store the result of this calculation, for small values of q < 19, q wil subsequently overflow and give wrong results in the calculated quantization tables. Instead, use a new variable 'S' (same name as in RFC2435) with the proper range to store the result of the division. Signed-off-by: Martin Storsjö <[email protected]>
edf54887e2935a30f9d9a46dd806802c3c867c0e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/edf54887e2935a30f9d9a46dd806802c3c867c0e
2016-03-26 00:15:24+02:00
lavc/utils: fix extra ASS sanity check in convert_sub_to_old_ass_form()
2b7a61cbd8ae134f839c4347a4c289e1e11475a3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2b7a61cbd8ae134f839c4347a4c289e1e11475a3
2016-03-07 21:48:55+01:00
avfilter/af_sofalizer: fix crash with odd IR size Signed-off-by: Paul B Mahol <[email protected]>
21234c835d2d003d390d462b6e1b2622e7b02c39
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/21234c835d2d003d390d462b6e1b2622e7b02c39
2016-03-03 23:59:58+01:00
avformat/icodec: Fix crash probing fuzzed file Avoid invalid memory read/crash when frame offset >= 0xfffffff8. Base64-encoded example: AAABADAwMDAwMAAAMAAwMDAw/P///w== (The previous commit verifies that p->buf_size >= 22.) Signed-off-by: Michael Niedermayer <[email protected]>
56e2cd9c042e05255aa28487694c29aaec023263
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/56e2cd9c042e05255aa28487694c29aaec023263
2016-02-20 02:56:25+01:00
hevc: Track long and short term RPS size for VDPAU Today, we track the short term RPS size for DXVA, but only if the SliceHeader RPS is being used. Otherwise it's left uninitialized. NVIDIA's VDPAU implementation requires that the size be accurately tracked even if an SPS RPS is being used. In this case, it's really counting the size of the RPS idx information, but you end up with mangled output if the value is not accurate. VDPAU also needs the size of the long term RPS. Signed-off-by: Philip Langdale <[email protected]> Signed-off-by: Rémi Denis-Courmont <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
8958c5c64d05453204642b55a7b8b44c93023b17
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8958c5c64d05453204642b55a7b8b44c93023b17
2016-02-13 14:24:37+01:00
avfilter/vf_zoompan: Fix use of uninitialized variables Fixes: CID1351392 Fixes: CID1351393 Fixes: CID1351395 Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
03b26a2514c5df8777f07b0e0964c0b4ca065d72
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/03b26a2514c5df8777f07b0e0964c0b4ca065d72
2016-02-12 15:59:35+01:00
avcodec: add a native SMPTE VC-2 HQ encoder This commit adds a new encoder capable of creating BBC/SMPTE Dirac/VC-2 HQ profile files. Dirac is a wavelet based codec created by the BBC a little more than 10 years ago. Since then, wavelets have mostly gone out of style as they did not provide adequate encoding gains at lower bitrates. Dirac was a fully featured video codec equipped with perceptual masking, support for most popular pixel formats, interlacing, overlapped-block motion compensation, and other features. It found new life after being stripped of various features and standardized as the VC-2 codec by the SMPTE with an extra profile, the HQ profile that this encoder supports, added. The HQ profile was based off of the Low-Delay profile previously existing in Dirac. The profile forbids DC prediction and arithmetic coding to focus on high performance and low delay at higher bitrates. The standard bitrates for this profile vary but generally 1:4 compression is expected (~525 Mbps vs the 2200 Mbps for uncompressed 1080p50). The codec only supports I-frames, hence the high bitrates. The structure of this encoder is simple: do a DWT transform on the entire image, split it into multiple slices (specified by the user) and encode them in parallel. All of the slices are of the same size, making rate control and threading very trivial. Although only in C, this encoder is capable of 30 frames per second on an 4 core 8 threads Ivy Bridge. A lookup table is used to encode most of the coefficients. No code was used from the GSoC encoder from 2007 except for the 2 transform functions in diracenc_transforms.c. All other code was written from scratch. This encoder outperforms any other encoders in quality, usability and in features. Other existing implementations do not support 4 level transforms or 64x64 blocks (slices), which greatly increase compression. As previously said, the codec is meant for broadcasting, hence support for non-broadcasting image widths, heights, bit depths, aspect ratios, etc. are limited by the "level". Although this codec supports a few chroma subsamplings (420, 422, 444), signalling those is generally outside the specifications of the level used (3) and the reference decoder will outright refuse to read any image with such a flag signalled (it only supports 1920x1080 yuv422p10). However, most implementations will happily read files with alternate dimensions, framerates and formats signalled. Therefore, in order to encode files other than 1080p50 yuv422p10le, you need to provide an "-strict -2" argument to the command line. The FFmpeg decoder will happily read any files made with non-standard parameters, dimensions and subsamplings, and so will other implementations. IMO this should be "-strict -1", but I'll leave that up for discussion. There are still plenty of stuff to implement, for instance 5 more wavelet transforms are still in the specs and supported by the decoder. The encoder can be lossless, given a high enough bitrate. Signed-off-by: Rostislav Pehlivanov <[email protected]>
ec9e87c922adeffbf4c351d625a4c2e1c430eb19
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ec9e87c922adeffbf4c351d625a4c2e1c430eb19
2016-02-10 17:15:59+00:00
avcodec/mpeg4videoenc: Use 64bit for time variables Fixes assertion failure and integer overflow Fixes: fc677bbea2c6f901763eb637b61fa5e2/signal_sigabrt_7ffff6ae7cb7_9556_dfd95f040a69f725d1b2f861bd491725.ivf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
f502583663eb2cacfd7f5bb29b39420a970d4fb4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f502583663eb2cacfd7f5bb29b39420a970d4fb4
2016-01-23 02:17:53+01:00
qtpalette: make the color_* variables unsigned again This fixes segmentation faults due to out of bounds writes, when color_start is interpreted as negative number. This regression was introduced in commit 57631f. Reviewed-by: Mats Peterson <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
63c9b30f98ce7d160b3a6dec1b36dc05fbb71941
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/63c9b30f98ce7d160b3a6dec1b36dc05fbb71941
2016-01-11 23:14:52+01:00
avformat/dfa: Fix packet leak on error Fixes: 07fa81f300736485e585b63e7b1cd155/signal_sigabrt_7ffff6ae7cb7_16_94ee815791a1357826524072db5bc2dc.dfa Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c71999ef97b7cc8b1cb6eaf39e72e9ecbf825d9e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c71999ef97b7cc8b1cb6eaf39e72e9ecbf825d9e
2016-01-11 17:16:18+01:00
avcodec/aacdec_template: Check id_map Fixes index out of bounds error Fixes: aac_index_out_of_bounds.wmv Found-by: Piotr Bandurski <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
590863876d1478547640304a31c15809c3618090
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/590863876d1478547640304a31c15809c3618090
2016-01-10 19:31:39+01:00
flvdec: Add sanity checking of the last packet size For http, this avoids spurious warnings about failed requests (e.g. HTTP error 416 Requested Range Not Satisfiable), if the last packet is truncated and the size read is bogus. Signed-off-by: Martin Storsjö <[email protected]>
e4eb13ca77624401ea7cef1ed6ad8e2d13fd2063
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e4eb13ca77624401ea7cef1ed6ad8e2d13fd2063
2016-01-19 14:24:35+02:00
avfilter/x86/vf_maskedmerge: Clear upper part of width Fixes crash Fixes: Ticket5055 Signed-off-by: Michael Niedermayer <[email protected]>
e42e0b11f1df41e034c22c71656b43f402302ab5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e42e0b11f1df41e034c22c71656b43f402302ab5
2015-12-23 22:38:15+01:00
mjpegdec: extend check for incompatible values of s->rgb and s->ls This can happen if s->ls changes from 0 to 1, but picture allocation is skipped due to s->interlaced. In that case ff_jpegls_decode_picture could be called even though the s->picture_ptr frame has the wrong pixel format and thus a wrong linesize, which results in a too small zero buffer being allocated. This fixes an out-of-bounds read in ls_decode_line. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
7ea2db6eafa0a8a9497aab20be2cfc8742a59072
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7ea2db6eafa0a8a9497aab20be2cfc8742a59072
2015-12-31 17:30:25+01:00
avutil/softfloat: Assert that the exponent did not overflow the legal range in av_normalize1_sf() Signed-off-by: Michael Niedermayer <[email protected]>
5e8b9e746fd58229e8a7ab1ced41918863f576ce
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5e8b9e746fd58229e8a7ab1ced41918863f576ce
2015-12-11 13:39:21+01:00
lavfi/af_channelmap: fix memory leak Recent commits 6aaac24d72a7da631173209841a3944fcb4a3309 and 3835554bf8ed78539a3492c239f979c0ab03a15f made progress towards cleaning up usage of the formats API, and in particular fixed possible NULL pointer dereferences. This commit addresses the issue of possible resource leaks when some intermediate call fails. Tested with valgrind --leak-check=full --show-leak-kinds=all, and manual simulation of malloc/realloc failures. Fixes: CID 1338330. Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
924fcac52148ef3e37ea39b5901299930b9c1b28
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/924fcac52148ef3e37ea39b5901299930b9c1b28
2015-12-09 07:58:13-05:00
avcodec/wmaprodec: Check bits per sample to be within the range not causing integer overflows Fixes: 549d5aab1480d10f2a775ed90b0342f1/signal_sigabrt_7ffff6ae7cc9_5643_96bbb0cfe3e28be1dadfce1075016345.wma Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
66e05f6ff5e5c105bdd7bf3a49234ddac1b592c5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/66e05f6ff5e5c105bdd7bf3a49234ddac1b592c5
2015-12-05 14:35:37+01:00
mpegencts: Fix overflow in cbr mode period calculations ts->mux_rate is int (signed 32-bit) type. The period calculations will start to overflow when mux_rate > 5mbps. This fixes overflows by converting first to 64-bit type. Fixes #5044. Signed-off-by: Timo Teräs <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
64f7db554ee83846f207e82a08946a6a5a6acfe2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/64f7db554ee83846f207e82a08946a6a5a6acfe2
2015-12-03 17:43:30+01:00
avcodec/pcm: Fix overflow in bitrate computation Fixes: 129ca3e28d73af7b1e24a9d4118e7a2d/signal_sigabrt_7ffff6ae7cc9_836_762b310fc3ef6087bd7771e5d8e90b9b.asf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
2de8bfd2ef06a5cd8293d3054c5f409d828d539c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2de8bfd2ef06a5cd8293d3054c5f409d828d539c
2015-12-05 13:20:03+01:00
ffmdec: reject zero-sized chunks If size is zero, avio_get_str fails, leaving the buffer uninitialized. This causes invalid reads in av_set_options_string. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
a611375db532c3d5363d97b10fadd0211811a4fd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a611375db532c3d5363d97b10fadd0211811a4fd
2015-12-04 15:20:04+01:00
mpevideo_enc: disallow multiple slices for h261 and flv They do not work and produce corrupted output. CC: [email protected]
d80f0a4ad634b3949b91b85f21fd608c0cddeef7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d80f0a4ad634b3949b91b85f21fd608c0cddeef7
2015-11-20 09:22:48+01:00
softfloat: assert when the argument of av_sqrt_sf is negative The correct result can't be expressed in SoftFloat. Currently it returns a random value from an out of bounds read. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
f3866a14c3c2949fad16267e9f2977ba9d7b5504
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f3866a14c3c2949fad16267e9f2977ba9d7b5504
2015-11-08 21:05:21+01:00
avfilter/avf_showcqt: Fix uninitialized return code Fixes CID1322329 Signed-off-by: Michael Niedermayer <[email protected]>
1b539fbfe36c450a6f45706e740fd4e205b8be16
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1b539fbfe36c450a6f45706e740fd4e205b8be16
2015-11-11 01:07:45+01:00
avcodec/h264: Set CORRUPT flag on output frames that are not fully recovered In the merge commit 78265fcfeee153e5e26ad4dbc7831a84ade447d6 this behaviour was broken and the CORRUPT flag would never ever be set on a frame. However the flag on the AVCodecContext was taken into account properly, including AV_CODEC_FLAG2_SHOW_ALL. The reason for this was that the recovered field of the next output picture was always set to TRUE whenever one of the two AVCodecContext flags was set, which made it impossible to detect later, before outputting, if the frame was really recovered or not. Now don't set it to TRUE unless the frame is really recovered and check the AVCodecContext flags right before outputting. Signed-off-by: Sebastian Dröge <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
9aebea0a4de1dc19c6309694cb1a5cd7554438cc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9aebea0a4de1dc19c6309694cb1a5cd7554438cc
2015-12-08 18:09:27+01:00
avcodec/ffv1dec: Clear slice coordinates if they are invalid or slice header decoding fails for other reasons Fixes Ticket4931 Signed-off-by: Michael Niedermayer <[email protected]>
4c2d4e8700cd3db59bc11ab196c0002215cf601f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4c2d4e8700cd3db59bc11ab196c0002215cf601f
2015-10-16 21:14:56+02:00
movenc: Add an API unit test for fragmenting options/calls Contrary to the normal fate tests that run via avconv, this tests nontrivial call sequences that are only doable via the API (mainly for different corner cases when using the muxer for segmenting). The test muxes fake packet data (with extradata that looks enough like proper data to make the file be viewable with e.g. boxdumper) and checks the hash of the produced files. The test also verifies that fragments produced via different call sequences remain identical (to avoid e.g. updating the output hashes and suddenly having fragments that used to be identical suddenly diverging), for fragments written with frag_discont and/or delay_moov. Signed-off-by: Martin Storsjö <[email protected]>
59e8ec0aa8ab174701d01a3bfe96fedd0b7fcead
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/59e8ec0aa8ab174701d01a3bfe96fedd0b7fcead
2015-11-10 21:50:25+02:00
AAC encoder: fix make checkheaders With the move of some functions into templates in aaccoder_twoloop.h and aaccoder_trellis.h, make checkheaders started failing. Add them to SKIPHEADERS as should be.
3693efb3158d8e6aaeb9d504177fb6f96fc8f4e3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3693efb3158d8e6aaeb9d504177fb6f96fc8f4e3
2015-09-18 22:57:56-03:00
avcodec/svq1dec: Check init_get_bits8() for failure Fixes: CID1322313 Signed-off-by: Michael Niedermayer <[email protected]>
a51d4246d8ac96acee735e7e5dedb9d9ef27a594
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a51d4246d8ac96acee735e7e5dedb9d9ef27a594
2015-09-04 01:28:26+02:00
AAC: Increase fuzziness of fate-aac tests Needed to make them pass in mips
bcb3332b1bc155c0bd05c9a40436b301fede7787
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bcb3332b1bc155c0bd05c9a40436b301fede7787
2015-09-03 10:16:33-03:00
avformat/mxg: Use memmove() Fixes undefined behavior Fixes: 1700002963a49da13542e0726b7bb758/unknown_unknown_292_658_cov_2141972066_m1.mxg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c7c207aecde0773afc974ce4b7e25dca659bc5b5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c7c207aecde0773afc974ce4b7e25dca659bc5b5
2015-09-01 22:46:23+02:00
asfdec: prevent the memory leak in the asf_read_metada_obj also do not return the error code but just break reading metadata object in the case of the aspect ratio reading failure Signed-off-by: Luca Barbato <[email protected]>
317cfaa5e09755ed0b34af512ec687963a67bdbf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/317cfaa5e09755ed0b34af512ec687963a67bdbf
2015-08-16 20:00:37+02:00
avcodec/aacdec: Do not return a uninitialized value Signed-off-by: Michael Niedermayer <[email protected]>
990605768c86eb3281c3a232df2d81ee5d3c6c41
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/990605768c86eb3281c3a232df2d81ee5d3c6c41
2015-06-08 02:33:39+02:00
mov: always check avio_read return value If avio_read fails, the buffer can contain uninitialized data. This fixes 'Conditional jump or move depends on uninitialised value(s)' valgrind warnings. Signed-off-by: Andreas Cadhalpun <[email protected]>
b71528d8967c1e10f499432fe26ff4713d1fd3b6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b71528d8967c1e10f499432fe26ff4713d1fd3b6
2015-05-24 15:08:21+02:00
Revert "avformat/rtpenc: check av_packet_get_side_data() return, fix null ptr dereference" This was simply wrong Found-by: Martin Storsjö This reverts commit 5d8e4f6da03c0342157e6ac7fab1a8ac3a87a8b0.
3e34b7498f14c04baadde1700a6f73a7e9e86fa6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3e34b7498f14c04baadde1700a6f73a7e9e86fa6
2015-06-03 22:39:27+02:00
lavc/qdrw: Fix overwrite when reading invalid Quickdraw images.
1eda55510ae5d15ce3df9f496002508580899045
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1eda55510ae5d15ce3df9f496002508580899045
2015-05-17 02:08:58+02:00
avcodec/shorten: Fix code depending on signed overflow behavior Signed-off-by: Michael Niedermayer <[email protected]>
2d15588124ab1d4c0612cab66f02a716f1509211
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2d15588124ab1d4c0612cab66f02a716f1509211
2015-05-15 16:58:51+02:00
avutil/opt: Avoid division by 0 Signed-off-by: Michael Niedermayer <[email protected]>
52835cb8e16cd54bd4b3052279f184882cbf54c2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/52835cb8e16cd54bd4b3052279f184882cbf54c2
2015-05-03 16:37:04+02:00
webmdashenc: Fix potential memory leak Fix potential memory leak in WebM DASH Muxer. This fixes coverity scan CID 1295088. Signed-off-by: Vignesh Venkatasubramanian <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
30ba28fe8e5757ab4ee61b9c0e8a418bd7d54b50
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/30ba28fe8e5757ab4ee61b9c0e8a418bd7d54b50
2015-04-21 01:12:27+02:00
avcodec/h264_slice: Fix uninitialized variable Signed-off-by: Michael Niedermayer <[email protected]>
845ab37b05e1101f538543f4e35ce0672ad8690b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/845ab37b05e1101f538543f4e35ce0672ad8690b
2015-04-08 13:05:38+02:00
avcodec/h264: reenable ER except with slice threads by default ER with slice threads is buggy and since the merge of the libav cleanup broken as the ER context which is supposed to be per frame has been placed in the slice context, so there are multiple per frame which does not work as is. Theres no bug report about ER with frame threads. If someone knows of a case where it crashes / fails without slice threads please mail me and open a ticket on trac. Signed-off-by: Michael Niedermayer <[email protected]>
4b7356ce8f2c7902a9b97645f86e0ae09bc2676c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4b7356ce8f2c7902a9b97645f86e0ae09bc2676c
2015-04-04 01:43:14+02:00
ffmpeg: Avoid null pointer dereferences Signed-off-by: Michael Niedermayer <[email protected]>
d768f8f5cfe876cd8eedb045eeb87e307ac4a674
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d768f8f5cfe876cd8eedb045eeb87e307ac4a674
2015-04-02 13:06:00+02:00
avutil/eval: check for av_malloc failure Signed-off-by: Michael Niedermayer <[email protected]>
c49e7924a8b537f2cda0da8627641fb97528fc11
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c49e7924a8b537f2cda0da8627641fb97528fc11
2015-04-01 15:59:58+02:00
udp: Fix crashes after adding AVOptions Add a missing AVClass member, check whether localaddr is null. (Previously, localaddr was always a local stack buffer, while it now also can be an avoption string which can be null.) This fixes crashes when not passing any localaddr parameter, since 66028b7ba. Signed-off-by: Martin Storsjö <[email protected]>
8dc72eeaf647736c287b59a3856a11904bedd58b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8dc72eeaf647736c287b59a3856a11904bedd58b
2015-03-19 10:25:22+02:00
avformat/dvbsub: Fix hypothetical pointer overflow in dvbsub_probe() Signed-off-by: Michael Niedermayer <[email protected]>
2cda1a16d0d34f1e936ed179c6f864bae1026b06
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2cda1a16d0d34f1e936ed179c6f864bae1026b06
2015-03-15 13:45:31+01:00
avfilter/palettegen: fix frame mem leak
3e0ae19f863fb4aea70529ea359148791e02fe3e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3e0ae19f863fb4aea70529ea359148791e02fe3e
2015-02-27 14:18:53+01:00
Fix buffer_size argument to init_put_bits() in multiple encoders. Several encoders were multiplying the buffer size by 8, in order to get a bit size. However, the buffer_size argument is for the byte size of the buffer. We had experienced crashes encoding prores (Anatoliy) at size 4096x4096.
50833c9f7b4e1922197a8955669f8ab3589c8cef
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/50833c9f7b4e1922197a8955669f8ab3589c8cef
2015-02-26 20:14:00+01:00
avutil/imgutils: correctly check for negative SAR components These could trigger assert failures previously Found-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
5705dc527687fd84d94c934169b6bd753459744f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5705dc527687fd84d94c934169b6bd753459744f
2015-02-28 21:57:11+01:00
avfilter/showpalette: fix leak in case of error Fixes CID1270820 Fixes CID1270818
8087632027d755cd32ccc9e91ea025e276197055
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8087632027d755cd32ccc9e91ea025e276197055
2015-02-18 14:04:10+01:00
rtpenc: Merge the h264 and hevc packetizers They share a great deal of common structure; only a few minor bits in the headers differ. This also fixes an off-by-one in sending of the last fragment of large HEVC nals (where it previously sent len+2 bytes, even if it should have been len+RTP_HEVC_HEADERS_SIZE aka len+3). Signed-off-by: Martin Storsjö <[email protected]>
c82bf15dca00f67a701d126e47ea9075fc9459cb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c82bf15dca00f67a701d126e47ea9075fc9459cb
2015-02-24 16:25:43+02:00
avcodec/a64multienc: fix use of uninitialized values in to_meta_with_crop Averaging over 2 pixels doesn't work correctly for the last pixel, because the rest of the buffer is not initialized. Signed-off-by: Michael Niedermayer <[email protected]>
87513d654546a99f8ddb045ca4fa5d33778a617e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/87513d654546a99f8ddb045ca4fa5d33778a617e
2015-02-23 01:49:23+01:00
avformat/adxdec: check avctx->channels for invalid values This avoids a null pointer dereference of pkt->data. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
7faa40af982960608b117e20fec999b48011e5e0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7faa40af982960608b117e20fec999b48011e5e0
2015-02-26 12:25:29+01:00
avcodec/mpegvideo: ff_mpeg_set_erpic() clear destination Fixes crash Signed-off-by: Michael Niedermayer <[email protected]>
8ef9dcf1d74aea55bf39f1e479fe67e98d973954
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8ef9dcf1d74aea55bf39f1e479fe67e98d973954
2014-03-17 05:13:59+01:00
avformat/movenc: Fix use of uninitialized variable (ret) Fixed CID1270823 Signed-off-by: Michael Niedermayer <[email protected]>
9e008ed1b4ca02587e161b308baf8da732ce8942
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9e008ed1b4ca02587e161b308baf8da732ce8942
2015-02-18 16:33:15+01:00
avformat/rmenc: Check for av_malloc() failure Fixes CID1257832 Signed-off-by: Michael Niedermayer <[email protected]>
56838103020385020469d1da076f0e4a6cbe15e5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/56838103020385020469d1da076f0e4a6cbe15e5
2015-02-22 17:47:40+01:00
avutil/fixed_dsp: Check for av_malloc() failure Fixes CID1271051 Signed-off-by: Michael Niedermayer <[email protected]>
c3b6454d801638b091b51fe62937e6831a3a37b2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c3b6454d801638b091b51fe62937e6831a3a37b2
2015-02-22 16:27:28+01:00
avcodec/vb: Check for av_mallocz() failure Signed-off-by: Michael Niedermayer <[email protected]>
d80fe5d4bce3503390513ab7b7dbc634cacade40
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d80fe5d4bce3503390513ab7b7dbc634cacade40
2015-02-09 09:27:16+01:00
avformat/thp: check av_get_packet() for failure Signed-off-by: Paul B Mahol <[email protected]>
dc3c3758ce6368aa2f0a9a9b544bce2e130cc4e1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dc3c3758ce6368aa2f0a9a9b544bce2e130cc4e1
2015-02-06 09:42:53+00:00
rm: fix memory leak on init failure AVInputFormat.read_close is not called if AVInputFormat.read_header fails, so this needs to be handled separately. Signed-off-by: Michael Niedermayer <[email protected]>
aab74a38b8ba910a383dd82953061d5c42772ae9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aab74a38b8ba910a383dd82953061d5c42772ae9
2015-01-10 00:26:43+01:00
avcodec/hevc_parser: check for av_mallocz() failure Signed-off-by: Paul B Mahol <[email protected]>
a5398aa56cfbf80acb409451cd807660402a34d4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a5398aa56cfbf80acb409451cd807660402a34d4
2015-02-10 09:35:23+00:00
mov: Fix overflow and error handling in read_tfra(). Under abnormal conditions the item_count may exceed the max allocation size on 32-bit systems, this causes the allocated size to overflow and become too small for the given count. Additionally, if av_reallocp() fails its allocation, the fragment_index_count is not correctly decremented. Ensuring further havoc may be wrought, the error code for read_tfra() is not checked upon return. Found-by: Paul Mehta <[email protected]> positive return code and use of _array functions by commiter Signed-off-by: Michael Niedermayer <[email protected]>
db42d93a61be26873be6115c57f5921b4dfdec14
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/db42d93a61be26873be6115c57f5921b4dfdec14
2015-01-06 04:44:16+01:00
libavformat/cdxl: fix duration in case of overflow Fixes integer overflow Fixes CID1260706 Signed-off-by: Michael Niedermayer <[email protected]>
256df8a2fafad64fc8797c2742d1a7187fd25b4c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/256df8a2fafad64fc8797c2742d1a7187fd25b4c
2014-12-29 20:53:56+01:00
mjpegdec: check for pixel format changes Fixes possible invalid memory access. Based on code by Michael Niedermayer <[email protected]> CC: [email protected] Bug-ID: CVE-2014-8541 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
809c3023b699c54c90511913d3b6140dd2436550
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/809c3023b699c54c90511913d3b6140dd2436550
2014-12-19 08:01:46+01:00
avcodec/hevc: Silence "warning: ref0/1 may be used uninitialized in this function" Also make code more robust by initializing the pointers to NULL Signed-off-by: Michael Niedermayer <[email protected]>
ef23bd939d955f53bc58696bbb68960784066894
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ef23bd939d955f53bc58696bbb68960784066894
2014-12-11 04:17:43+01:00
h264: Fix memory leak on ff_h264_decode_init() failure CC: [email protected]
56de2897a68e3a8795b0b3c593dad1c5832696e0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/56de2897a68e3a8795b0b3c593dad1c5832696e0
2014-12-03 02:51:18+00:00
ffmpeg: Check for subtitle_out malloc failure Signed-off-by: Michael Niedermayer <[email protected]>
d2f9aefbde5bebac1af9eb6f3c41250fb8d5c0c0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d2f9aefbde5bebac1af9eb6f3c41250fb8d5c0c0
2014-12-15 23:26:54+01:00
lavc/mss1: fix mem leak in case of init failure Signed-off-by: Lukasz Marek <[email protected]>
331fae80a1fb9b027442047fb564c02c6c41e70b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/331fae80a1fb9b027442047fb564c02c6c41e70b
2014-11-23 20:52:38+01:00
dvbsubdec: improve error checking Use av_mallocz_array instead of iterating and check the returned memory. Check returned memory and cleanly exit in case of error during the loop. Avoid a null pointer dereference for invalid data. CC: [email protected] Bug-Id: CID 29575
2383323661f3b8342b2c4d356fcfe8c5d1b045f8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2383323661f3b8342b2c4d356fcfe8c5d1b045f8
2014-11-11 11:49:54+01:00
avcodec/utvideodec: Fix undefined behavior in shift Fixes: asan_heap-oob_2573085_3783_utvideo_rgba_median.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
48efe9ec86acf6dcf6aabef2114f8dd04e4fbce4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/48efe9ec86acf6dcf6aabef2114f8dd04e4fbce4
2014-11-11 03:35:57+01:00
avformat/rtsp: add av_assert0() to clarify that the else case is supposed to be unreachable If its reachable then theres a bug as err would be uninitialized Signed-off-by: Michael Niedermayer <[email protected]>
7f2af3f56b3d69149b18e062664582c858631791
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7f2af3f56b3d69149b18e062664582c858631791
2014-10-23 23:48:45+02:00
smoothstreamingenc: explict cast to avoid overflow CC: [email protected] Bug-Id: CID 732248
e73d26bbd65f1ac5fc73ef3fd24cab1bed8ba2e2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e73d26bbd65f1ac5fc73ef3fd24cab1bed8ba2e2
2014-10-21 14:37:48+01:00
avformat/utils: use av_reduce() to simplify code and avoid overflow in ff_compute_frame_duration() Signed-off-by: Michael Niedermayer <[email protected]>
a92192d2e4f7ff3078b128592f6673089b221cc4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a92192d2e4f7ff3078b128592f6673089b221cc4
2014-10-15 18:23:21+02:00
fate: Switch ra4-288 test from framecrc() to pcm() The decoder is float-based and the test needs to allow for some fuzz. Signed-off-by: Diego Biurrun <[email protected]>
28f5cd312c9da9072108edf8b7685d009374ea96
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/28f5cd312c9da9072108edf8b7685d009374ea96
2014-09-25 01:44:31-07:00
configure: Suppress "potentially uninitialized variable" warnings from MSVC The same is done for GCC and clang already.
b0bfd09f88da8b7c7666faf0ac7d5e74559dba9f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b0bfd09f88da8b7c7666faf0ac7d5e74559dba9f
2014-08-21 17:55:28+02:00