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/scpr: improve check for out of range motion vectors Signed-off-by: Paul B Mahol <[email protected]>
45ed942e7e166b288b6f1c262292df6a47295f6a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/45ed942e7e166b288b6f1c262292df6a47295f6a
2017-02-23 19:45:12+01:00
avcodec/amrwbdec: Fix 2 runtime errors: left shift of negative value -1 Fixes: 669/clusterfuzz-testcase-4847965409640448 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
6bd79ba59f46a8b3133f28faae53b75540469803
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6bd79ba59f46a8b3133f28faae53b75540469803
2017-02-25 02:20:35+01:00
avcodec/h264_cabac: Fix runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Fixes: 858/clusterfuzz-testcase-5168477042114560 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
a3a408259912e6d9337837c5d63c4b826778530f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a3a408259912e6d9337837c5d63c4b826778530f
2017-03-16 16:16:05+01:00
vaapi_h264: Scale log2_max_pic_order_cnt_lsb with max_b_frames Before this change, it was possible to overflow pic_order_cnt_lsb and generate a stream with invalid POC numbering. This makes sure that the field is large enough that a single IDR B* P sequence uses fewer than half the available POC lsb values. (cherry picked from commit 89725a8512721fffd190021ded2d3f5b42e20e2a)
eefa4b76ee5a1059a36d8bd77b123c2cfbfea604
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eefa4b76ee5a1059a36d8bd77b123c2cfbfea604
2017-02-08 19:14:05+00:00
4xm: prevent overflow during block alignment calculation Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
e3f13d3a87274d537d319a84e9104f44f84ec3b2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e3f13d3a87274d537d319a84e9104f44f84ec3b2
2017-01-29 01:20:48+01:00
avformat/hlsenc: fix memleak in hlsenc fix CID: 1398364 Resource leak refine the code of the new options Reviewed-by: Bodecs Bela <[email protected]> Signed-off-by: Steven Liu <[email protected]>
93593674bc8d85a40e0648f21a7cdbf3554f21ff
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/93593674bc8d85a40e0648f21a7cdbf3554f21ff
2017-01-05 17:08:09+08:00
http: Check for negative chunk sizes A negative chunk size is illegal and would end up used as length for memcpy, where it would lead to memory accesses out of bounds. Found-by: Paul Cher <[email protected]> CC: [email protected] Signed-off-by: Martin Storsjö <[email protected]>
131644677970a3c4a0096270ea2a5b5d437c2e63
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/131644677970a3c4a0096270ea2a5b5d437c2e63
2016-12-23 21:28:05+02:00
avfilter/vf_deband: do not use uninitialized value Fixes coverity report. Signed-off-by: Paul B Mahol <[email protected]>
9b26bf7e2a3904d0e4b80f8d771223d3045013db
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9b26bf7e2a3904d0e4b80f8d771223d3045013db
2016-12-23 18:53:20+01:00
avformat/oggparsespeex: Check frames_per_packet and packet_size The speex specification does not seem to restrict these values, thus the limits where choosen so as to avoid multiplicative overflow Fixes undefined behavior Fixes: 635422.ogg Found-by: Matt Wolenetz <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
afcf15b0dbb4b6429be5083e50b296cdca61875e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/afcf15b0dbb4b6429be5083e50b296cdca61875e
2016-12-03 03:59:13+01:00
idroqdec: fix leaking pkt on failure The code calls av_new_packet a few lines above and the allocated memory has to be freed in case of an error. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
c0175fa92b7edd45a06e4ab16c8e83da0c94a9f6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c0175fa92b7edd45a06e4ab16c8e83da0c94a9f6
2016-11-30 00:22:45+01:00
avutil/tests: Add cpu_init.c to check whether the one-time initialization in av_get_cpu_flags() has data races. Co-author: Dmitry Vyukov of Google Signed-off-by: Michael Niedermayer <[email protected]>
d84a21207ea83055dc9b6dc1cd6a379f2ea756e7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d84a21207ea83055dc9b6dc1cd6a379f2ea756e7
2016-11-23 22:35:25+01:00
aarch64: vp9: loop filter: replace 'orr; cbn?z' with 'adds; b.{eq,ne}; The latter is 1 cycle faster on a cortex-53 and since the operands are bytewise (or larger) bitmask (impossible to overflow to zero) both are equivalent.
e7ae8f7a715843a5089d18e033afb3ee19ab3057
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e7ae8f7a715843a5089d18e033afb3ee19ab3057
2016-11-16 09:05:18+01:00
avcodec/rv40: Test remaining space in loop of get_dimension() Fixes infinite loop Fixes: 178/fuzz-3-ffmpeg_VIDEO_AV_CODEC_ID_RV40_fuzzer Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
1546d487cf12da37d90a080813f8d57ac33036bf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1546d487cf12da37d90a080813f8d57ac33036bf
2016-11-15 23:08:43+01:00
icodec: fix leaking pkt on error Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
467eece1bea5c8325c6974190ba61f1bba88a3f3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/467eece1bea5c8325c6974190ba61f1bba88a3f3
2016-11-09 21:10:35+01:00
lzf: update pointer p after realloc This fixes heap-use-after-free detected by AddressSanitizer. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
43de8b328b62cf21ec176c3989065168da471a5f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/43de8b328b62cf21ec176c3989065168da471a5f
2016-11-07 22:42:00+01:00
avformat/mov: zero initialize codec_name in mov_parse_stsd_video() Fixes valgrind warning about "Conditional jump or move depends on uninitialised value(s)" Reviewed-by: Andreas Cadhalpun <[email protected]> Signed-off-by: James Almer <[email protected]>
66453b1fba6c68f2f7f5117355d34b5f40910327
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/66453b1fba6c68f2f7f5117355d34b5f40910327
2016-11-12 20:52:22-03:00
avcodec/d3d11va: use the proper slice index The slice index expected by D3D11VA is the one from the texture not from the array or texture/slices. In VLC the slices we provide the decoder don't start from 0 and thus pictures appear in bogus order. With possible crashes and corruptions when using an invalid index. Signed-off-by: Michael Niedermayer <[email protected]>
9b462a0b9df6260f59726c98d8aef8b07a1e442b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9b462a0b9df6260f59726c98d8aef8b07a1e442b
2016-10-10 16:05:14+02:00
avcodec/jpeg2000dec: Fix potential integer overflow with tile dimensions Signed-off-by: Michael Niedermayer <[email protected]>
65d3359fb366ea265a8468d76a111cb7352f0b55
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/65d3359fb366ea265a8468d76a111cb7352f0b55
2015-11-15 21:36:19+01:00
avcodec/mlz: clear dict on allocation to ensure there are no uninitialized values Signed-off-by: Michael Niedermayer <[email protected]>
2f7a12fab5a2ea17bd78b155e9af965669fb9b52
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2f7a12fab5a2ea17bd78b155e9af965669fb9b52
2016-09-08 20:31:15+02:00
avcodec/mpegvideo_enc: Add missing emms_c() to clear MMX state after SIMD use Fixes undefined behavior due to calling libc allocation with unclean FPU state Signed-off-by: Michael Niedermayer <[email protected]>
de0cd0ffc9e4b7780d0cae5f969aca4e3bdf7e48
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/de0cd0ffc9e4b7780d0cae5f969aca4e3bdf7e48
2016-10-22 13:46:46+02:00
avcodec/qsvdec: Fix null dereferences in the qsv decoder This patch fixes the h264_qsv decoder issues mentioned in https://ffmpeg.zeranoe.com/forum/viewtopic.php?t=2962. The patch may be tested by specifying h264_qsv as the decoder to ffplay for an h264 encoded file. ffplay -vcodec h264_qsv foo.mts Signed-off-by: Yuli Khodorkovskiy <[email protected]> Push requested-by: Ivan Uskov Signed-off-by: Michael Niedermayer <[email protected]>
f0adb99d068e659178c00271a46cd469dfc01a6e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f0adb99d068e659178c00271a46cd469dfc01a6e
2016-08-07 19:16:24+02:00
vp9: make mv bounds 32bit. The frame dimensions are 16bit, so the mv bounds can easily overflow int16 for large videos. Bug-Id: Handbrake/46 CC: [email protected] Signed-off-by: Anton Khirnov <[email protected]>
0df4801105d84883071b0978cb3afc7cd5184ce8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0df4801105d84883071b0978cb3afc7cd5184ce8
2016-08-03 11:07:15+02:00
avcodec/sheervideo: check build_vlc for failure Signed-off-by: Paul B Mahol <[email protected]>
6098d4b8a8c6fae2e17cc7f9c67c7c080fc4bc8d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6098d4b8a8c6fae2e17cc7f9c67c7c080fc4bc8d
2016-06-16 23:05:30+02:00
libavformat/oggdec: Free stream private when header parsing fails. Leaking this private structure opens up the possibility that it may be re-used when parsing later packets in the stream. This is problematic if the later packets are not the same codec type (e.g. private allocated during Vorbis parsing, but later packets are Opus and the private is assumed to be the oggopus_private type in opus_header()). Signed-off-by: Michael Niedermayer <[email protected]>
542f725964e52201000ec34e2f23229cf534ad3a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/542f725964e52201000ec34e2f23229cf534ad3a
2016-05-11 03:50:37+02:00
vc2enc_dwt: use 32 bit coefficients by default The problem is that with particularly complex images and especially at high bit depths and 5-level transforms the coefficients would overflow, causing huge artifacts to appear. This was discovered thanks to the fate tests, which will have to be redone as this fixes a multitude of problems and increases PSNR. There is a slight performance drop associated with this change, making the encoder slower by 1.15 times, however this is necessary in order to avoid undefined behavior and overflows. It would be worth to template the transforms to keep the performance for 8 bit images as 32 bit coefficients are unnecessary for that case, but the primary use of the encoder is to encode video at 10 bits. Reviewed-by: Christophe Gisquet <[email protected]> Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Rostislav Pehlivanov <[email protected]>
b6c207f5358181f64e8cfadc929d61f0ed25266c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b6c207f5358181f64e8cfadc929d61f0ed25266c
2016-05-08 19:09:42+01:00
lavc/ffjni: fix uninitialized variable
8d0a2180582005e91d9f14ae3dd219a882277c23
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8d0a2180582005e91d9f14ae3dd219a882277c23
2016-03-10 18:17:28+01:00
indeo3: Avoid undefined behaviour Avoid the clang warning "warning: shifting a negative signed value is undefined"
6b2ad3ca48a6638cb0226ed5aab41d435d8c83a5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6b2ad3ca48a6638cb0226ed5aab41d435d8c83a5
2016-04-19 19:00:41+02:00
tests/fate/mp3: increase mp3-float-extra_overread FUZZ for ppc64be-RHEL7.0-gcc-4.8.2-ibmcrl to 23 from 20 Signed-off-by: Michael Niedermayer <[email protected]>
bee2e702ccd85383452a4264a43b6dd4fb60dafc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bee2e702ccd85383452a4264a43b6dd4fb60dafc
2015-08-07 02:54:59+02:00
avfilter/af_sofalizer: fix crash when ir size is not aligned, usually when n_samples are not power of 2 Signed-off-by: Paul B Mahol <[email protected]>
79a54f30c8ba02cbf2b02c650120246b260977ec
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/79a54f30c8ba02cbf2b02c650120246b260977ec
2016-03-04 10:38:40+01:00
avformat/mov: do not leak memory on ffio_read_size failure Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Marton Balint <[email protected]>
e22bd239c046014652a3487f542f2ab7b34f7a62
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e22bd239c046014652a3487f542f2ab7b34f7a62
2016-02-28 23:00:45+01:00
svq1enc: fix out of bounds reads level can be 5, but there are only four codebooks. Fixes ubsan runtime error: index 5 out of bounds for type 'int8_t [4][96]' Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
9079e99d2c462ec7ef2e89d9e77ee6c3553dacce
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9079e99d2c462ec7ef2e89d9e77ee6c3553dacce
2016-01-27 00:08:23+01:00
dca: fix misaligned access in ff_dca_convert_bitstream The function is used on unaligned buffers (such as those provided by AVPacket), accessing them as uint16_t causes SIGBUS crashes on architectures like SPARC. This fixes ubsan runtime error: load of misaligned address for type 'const uint16_t', which requires 2 byte alignment Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
b06cb15b9d7928bf54b639c9f9f7658c2c38bfb9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b06cb15b9d7928bf54b639c9f9f7658c2c38bfb9
2016-01-15 13:47:11+01:00
lavc/aacenc_utils: replace powf(x,y) by expf(logf(x), y) This is ~2x faster for y not an integer on Haswell+GCC, and should generally be faster due to the fact that anyway powf essentially does this under the hood. Made an inline function in lavu/internal.h for this purpose. Note that there are some accuracy differences, that should generally be negligible. In particular, FATE still passes on this platform. Results in ~ 7% speedup in aac encoding with -march=native, Haswell+GCC. before: ffmpeg -i sin.flac -acodec aac -y sin_new.aac 6.05s user 0.06s system 104% cpu 5.821 total after: ffmpeg -i sin.flac -acodec aac -y sin_new.aac 5.67s user 0.03s system 105% cpu 5.416 total This is also faster than an alternative approach that pulls in powf, gets rid of the crufty NaN checks and other special cases, exploits knowledge about the intervals, etc. This of course does not exclude smarter approaches; just suggests that there would need to be significant work on this front of lower utility than searches for hotspots elsewhere. Reviewed-by: Reimar Döffinger <[email protected]> Reviewed-by: Ronald S. Bultje <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
bccc81dfa08e6561df6ed37860e3a08f7d983825
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bccc81dfa08e6561df6ed37860e3a08f7d983825
2016-03-18 07:47:25-07:00
nvenc: flush the encoder before closing it, as required by the docs Otherwise, closing the encoder can crash.
aac7d6b284c3976eb0c48d61f342f008fb6e4103
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aac7d6b284c3976eb0c48d61f342f008fb6e4103
2016-01-12 09:23:38+01:00
acenc: remove deprecated avctx->frame_bits use The type of last_frame_pb_count was chosen to be an int since overflow is impossible (the spec says the maximum bits per frame is 6144 per channel and the encoder checks for that). Signed-off-by: Rostislav Pehlivanov <[email protected]> Reviewed-by: Paul B Mahol <[email protected]>
4386f17bbdf79d19339ab8434b15109dedfb9551
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4386f17bbdf79d19339ab8434b15109dedfb9551
2015-12-18 14:28:40+00:00
avfilter/vf_spp: Fix overflow in 8bit store slice Fixes regression with ffplay -f lavfi -i testsrc=640x480 -vf format=gray,boxblur=20:10,geq="'mod(lum(X,Y),16)*15'",boxblur=10,geq="'abs(mod(lum(X,Y),15)-7)*32'",spp=4:40 Signed-off-by: Michael Niedermayer <[email protected]>
6706a2986c48e3f20f1274b24345e6555d8f0f48
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6706a2986c48e3f20f1274b24345e6555d8f0f48
2014-12-21 01:48:19+01:00
avutil/libm: fix isnan compatibility hack Commit 14ea4151d7c3c26500193f11ac661ed20c7c2b9c had a bug in that the conversion of the uint64_t result to an int (the return signature) would lead to implementation defined behavior, and in this case simply returned 0 for NAN. A fix via AND'ing the result with 1 does the trick, simply by ensuring a 0 or 1 return value. Patch tested with FATE on x86-64, GNU/Linux by forcing the compatibility code via an ifdef hack suggested by Michael. Signed-off-by: Ganesh Ajjanagadde <[email protected]>
29af74e4e36daa3aa3ebafede844412d8cfff32b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/29af74e4e36daa3aa3ebafede844412d8cfff32b
2015-11-24 21:33:13-05:00
avcodec/utils: Clear dimensions in ff_get_buffer() on failure Fixes out of array access Fixes: 482d8f2fd17c9f532b586458a33f267c/asan_heap-oob_4a52b6_7417_1d08d477736d66cdadd833d146bb8bae.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
abee0a1c60612e8638640a8a3738fffb65e16dbf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/abee0a1c60612e8638640a8a3738fffb65e16dbf
2015-11-28 20:10:51+01:00
avcodec/jpeg2000: Check comp coords to be within the supported size Fixes assertion failure Fixes: 03e0abe721b1174856d41a1eb5d6a896/signal_sigabrt_7ffff6ae7cc9_3813_e71bf3541abed3ccba031cd5ba0269a4.avi This fix is choosen to be simple to backport, better solution for master is planed Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
a1a8cbcb35ef2759a66b4f0875785e4b3f277057
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a1a8cbcb35ef2759a66b4f0875785e4b3f277057
2015-11-15 20:53:22+01:00
all: use FFDIFFSIGN to resolve possible undefined behavior in comparators FFDIFFSIGN was created explicitly for this purpose, since the common return a - b idiom is unsafe regarding overflow on signed integers. It optimizes to branchless code on common compilers. FFDIFFSIGN also has the subjective benefit of being easier to read due to lack of ternary operators. Tested with FATE. Things not covered by this are unsigned integers, for which overflows are well defined, and also places where overflow is clearly impossible, e.g an instance where the a - b was being done on 24 bit values. Reviewed-by: Michael Niedermayer <[email protected]> Reviewed-by: Clément Bœsch <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
92e483f8ed70d88d4f64337f65bae212502735d4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/92e483f8ed70d88d4f64337f65bae212502735d4
2015-11-03 16:28:30-05:00
jpeglsenc: Mark codec as init-thread-safe and init-cleanup Fixes a memory leak on init failure.
c3418201307c6b7a2b3e3be10f33ab4a20a32c3b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c3418201307c6b7a2b3e3be10f33ab4a20a32c3b
2015-04-28 16:29:29+01:00
avcodec/ffv1dec: update progress in case of broken pointer chains Fixes deadlock Fixes Ticket4932 Signed-off-by: Michael Niedermayer <[email protected]>
5063a18f5635008b2a45ada1f8c1e21e20450029
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5063a18f5635008b2a45ada1f8c1e21e20450029
2015-10-16 22:25:20+02:00
avcodec/ffv1dec: Check for 0 quant tables Fixes assertion failure Fixes: 07ec1fc3c1cbf2d3edcd7d9b52ca156c/asan_heap-oob_13624c5_491_ecd4720a03e697ba750b235690656c8f.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
5745cf799a4389bc5d14f2b4daf32fe4631c50bc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5745cf799a4389bc5d14f2b4daf32fe4631c50bc
2015-11-05 01:31:52+01:00
ffplay: close streams and AVFormatContext in the main thread To avoid race conditions. Signed-off-by: Marton Balint <[email protected]>
4ce75387cdcbcef8afbaadc5b66232c25178c0c6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4ce75387cdcbcef8afbaadc5b66232c25178c0c6
2015-10-12 00:07:38+02:00
avformat/brstm: fix overflow Signed-off-by: Paul B Mahol <[email protected]>
3441fef0f8bfcdfbad69b49b7fc526fcdb2185cd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3441fef0f8bfcdfbad69b49b7fc526fcdb2185cd
2015-09-23 19:10:13+02:00
avcodec/pngenc: Check that there is at least 1 frame Fixes null pointer dereference Fixes CID1322330 Signed-off-by: Michael Niedermayer <[email protected]>
a852db796edce2792525d88ab47cf78222e01512
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a852db796edce2792525d88ab47cf78222e01512
2015-10-07 04:50:16+02:00
vp9: Fix emu[] edge overflow conditions for >8bpp/non-420.
a30a8beeb3dc44b666d0e1aefbd823752f321ac1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a30a8beeb3dc44b666d0e1aefbd823752f321ac1
2015-09-12 07:01:48-04:00
avcodec/movtextdec: Make tx3g_ptr unsigned Fixes integer overflow Fixes: efe937780e95574250dabe07151bdc23/unknown_unknown_351_849_cov_3187578556_shellymanne.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
a1a32fdb0ee63783d06c63b7d90bb382eea356ce
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a1a32fdb0ee63783d06c63b7d90bb382eea356ce
2015-08-31 23:44:39+02:00
avcodec/adpcm: Check init_get_bits8() for failure Fixes CID1322317 Signed-off-by: Michael Niedermayer <[email protected]>
66a7bc0010942a3de9cf538b62245db4a5e74cbb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/66a7bc0010942a3de9cf538b62245db4a5e74cbb
2015-09-04 12:03:37+02:00
fate: adjust fuzz of AAC Encoder's TNS test Have to adjust it again, this time because of --enable-small on gcc 4.5 in Linaro. Signed-off-by: Rostislav Pehlivanov <[email protected]>
b86532810ddc498d16e85b3535037e50a93dbad0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b86532810ddc498d16e85b3535037e50a93dbad0
2015-09-01 09:08:31+01:00
asfdec: prevent the memory leak while reading metadata Signed-off-by: Anton Khirnov <[email protected]>
fdbc544d29176ba69d67dd879df4696f0a19052e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fdbc544d29176ba69d67dd879df4696f0a19052e
2015-08-02 08:43:51+02:00
avformat: don't crash API users when demuxing mp4 This code is one big chunk of WTF. Signed-off-by: Michael Niedermayer <[email protected]>
130a8e0eef2f81e0d853117e417b650c3e16d1b7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/130a8e0eef2f81e0d853117e417b650c3e16d1b7
2015-07-14 22:41:35+02:00
avcodec/motion_est_template: Fix undefined behavior in small_diamond_search() Fixes: asan_heap-oob_394322e_138_cov_4265020547_CVPCMNL1_SVA_C.264 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
e71ca21f308432cac3deaabe522ac1b856471162
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e71ca21f308432cac3deaabe522ac1b856471162
2015-07-10 13:42:41+02:00
Checkasm: assembly testing and benchmarking tool It provides the following features: * verify correctness by comparing output to the C version. * detect failure to save and restore clobbered callee-saved registers. * detect 32-bit parameters being used as if they were 64-bit in x86-64 (the upper halves are not guaranteed to be zero - but in practice they very often are, which makes those bugs hard to spot otherwise). * easy benchmarking. Compile by running 'make checkasm'. Execute by running 'tests/checkasm/checkasm'. Optional arguments are '--bench' to run benchmarks for all functions, '--bench=<pattern>' to run benchmarks for all functions that starts with <pattern>, and '<integer>' to seed the PRNG for reproducible results. Contains unit tests for most h264pred functions to get started, more tests can be added afterwards using those as a reference. Loosely based on code from x264. Currently only supports x86 and x86-64, but additional architectures shouldn't be too much of an obstacle to add. Note that functions with floating point parameters or floating point return values are not supported. Some compiler-specific features or preprocessor hacks would likely be required to add support for that. Signed-off-by: Janne Grunau <[email protected]>
8bc67ec2c0d2b5444d51a1bed1d50f0e10d92717
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8bc67ec2c0d2b5444d51a1bed1d50f0e10d92717
2015-07-12 16:39:07+02:00
avcodec/jpeg2000dec: Use 32x32->64bit for 9/7i dequantization Like the 5/3 case this is needed to avoid overflows and similarly for 16bpp output pure 32bit operations are insufficient if high quality is wanted Note, this code-path is only used in bitexact mode, so this should not affect the speed of any real use-case Signed-off-by: Michael Niedermayer <[email protected]>
ffa1de8a3b93139097214bc600d356ab62bfdf05
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ffa1de8a3b93139097214bc600d356ab62bfdf05
2015-06-24 17:09:21+02:00
postproc: fix unaligned access QP_store is only 8-bit-aligned, so accessing it as uint32_t causes SIGBUS crashes on sparc. The AV_RN32/AV_WN32 macros only do unaligned access in the HAVE_FAST_UNALIGNED case. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
590743101dc934043f34013f1c9bb9fb261355b0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/590743101dc934043f34013f1c9bb9fb261355b0
2015-06-19 01:47:59+02:00
avcodec/flacenc: Fix Invalid Rice order Fixes ticket #4628. The problem arose, in the sample file at least, in the last block where the minimum and maximum Rice partition orders were both 0. In that case, and any other where pmax == pmin, the original UINT32_MAX placeholder value for bits[opt_porder] was getting overwritten before the comparison to check if the current partition order is a new optimal, so the correct partition order and RiceContext params were not being set. Signed-off-by: Michael Niedermayer <[email protected]>
2469ed32c81ebf2347e6883091c566724b286167
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2469ed32c81ebf2347e6883091c566724b286167
2015-06-16 12:55:20+02:00
Fix H.264 interframe decoding when compiling with icc. Patch by Loren Merritt: "It seems that icc copies the constants from their global var onto the stack, at which point they're not aligned, hence the crash. [This change] really shouldn't mean anything different, but maybe it'll confuse icc into not performing that 'optimization'." Originally committed as revision 12772 to svn://svn.ffmpeg.org/ffmpeg/trunk
96275520a383464ce9552ed727bd38dcb91d70fb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/96275520a383464ce9552ed727bd38dcb91d70fb
2008-04-08 23:49:34+00:00
mpjpegdec: don't try to alloc an AVIOContext when probe is guaranteed to fail The first check is done without the AVIOContext, so alloc it only if said check succeeds Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
1382add59df149193620ca0714ceac0929208c88
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1382add59df149193620ca0714ceac0929208c88
2015-06-08 18:26:42-03:00
vp9: fix crash when playing back 440/440 content with width%64<56.
88126916c8199bacdd429a3f9eeb3b717f0d3b9a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/88126916c8199bacdd429a3f9eeb3b717f0d3b9a
2015-05-15 15:43:23-04: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, and addresses a few memleaks. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Vittorio Giovara <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
5c720657c23afd798ae0db7c7362eb859a89ab3d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5c720657c23afd798ae0db7c7362eb859a89ab3d
2015-05-31 13:05:13+02:00
avformat_alloc_context: initialize raw_packet_buffer_remaining_size. This currently works for most users because avformat_open_input sets it, but this patch fixes any applications not using that function. Signed-off-by: Reimar Döffinger <[email protected]>
5af621278d458894d20f679194aa028a6f08f65b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5af621278d458894d20f679194aa028a6f08f65b
2015-05-10 08:47:53+02:00
avcodec/h264_slice: Dont reset mb_aff_frame per slice Fixes null pointer dereference Fixes Ticket4440 Signed-off-by: Michael Niedermayer <[email protected]>
386601286fed2dff5e1955bc21a0256f6f35ab19
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/386601286fed2dff5e1955bc21a0256f6f35ab19
2015-04-08 12:29:47+02:00
avcodec/012v: Check dimensions more completely Fixes division by 0 Found-by: Thomas Lindroth <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
d3b25383daffac154846daeb4e4fb46569e728db
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d3b25383daffac154846daeb4e4fb46569e728db
2015-03-10 20:21:14+01:00
avfilter/aeval: Fixed a memory leak in EvalContext::channel_values Signed-off-by: Michael Niedermayer <[email protected]>
c8372f8001197774ba94412a6cf761417fa481ea
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c8372f8001197774ba94412a6cf761417fa481ea
2015-03-10 14:40:08+01:00
swscale/utils: clear formatConvBuffer on allocation Fixes use of uninitialized memory Fixes: asan_heap-oob_35ca682_1474_cov_3230122439_aletrek_tga_16bit.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
007498fc1a639ecee2cda1892cbcff66c7c8c951
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/007498fc1a639ecee2cda1892cbcff66c7c8c951
2015-02-27 03:13:14+01:00
avformat/apngdec: Use 64bit for ret to avoid overflow Missed this hunk in first commit Signed-off-by: Michael Niedermayer <[email protected]>
80a851aa5ef2c848449f741365968c8f0ccf4531
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/80a851aa5ef2c848449f741365968c8f0ccf4531
2015-02-20 20:39:04+01:00
aac: Relax reserved_bit validation Although the specification mandates this bit to zero, it may happen that software tools incorrectly flip it to one, invalidating a possibly valid stream. Relax this restriction, by failing only when AV_EF_BITSTREAM is set. This behaviour is similar to aac decoders in Firefox and Quicktime. Signed-off-by: Vittorio Giovara <[email protected]>
87e85a133f3ce2f037b90e9c7bbca99951df6c15
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/87e85a133f3ce2f037b90e9c7bbca99951df6c15
2015-03-04 16:36:16+00:00
avformat/utils: Fix division by 0 Fixes: signal_sigsegv_14999ef_1188_cov_2888512890_SVA_CL1_E.264 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
e8f814a907036e43f755f35e885bfadf94c4d63b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e8f814a907036e43f755f35e885bfadf94c4d63b
2015-02-09 21:15:27+01:00
avcodec/h264: Be more strict on rejecting pps/sps changes Fixes race condition Fixes: signal_sigsegv_1472ac3_468_cov_2915641226_CABACI3_Sony_B.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
6fafc62b0bd0e206deb77a7aabbf3a370ad80789
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6fafc62b0bd0e206deb77a7aabbf3a370ad80789
2015-02-06 15:22:51+01:00
avformat/mpc8: Use uint64_t in *_get_v() to avoid undefined behavior Signed-off-by: Michael Niedermayer <[email protected]>
05e161952954acf247e0fd1fdef00559675c4d4d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/05e161952954acf247e0fd1fdef00559675c4d4d
2015-02-04 14:55:42+01:00
nsvdec: validate channels and samplerate Avoid a division by zero. CC: [email protected] Bug-Id: CID 717749
7c51d79ca7badfb370c410b8f44c9142b938e2e6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7c51d79ca7badfb370c410b8f44c9142b938e2e6
2015-01-27 15:26:37+00:00
avcodec/snowenc-test: check for av_malloc*() failures Signed-off-by: Michael Niedermayer <[email protected]>
482761b85a686c24dda18780a1c7e1e82c45e43c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/482761b85a686c24dda18780a1c7e1e82c45e43c
2015-01-13 15:02:36+01:00
avcodec/wma: Print more details in case of spectral RLE overflows Signed-off-by: Michael Niedermayer <[email protected]>
365ef88d5df4756942324b633cc439154e468276
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/365ef88d5df4756942324b633cc439154e468276
2015-01-12 13:56:13+01:00
avcodec/cavs: Check for av_malloc* failure in ff_cavs_init_top_lines() Signed-off-by: Michael Niedermayer <[email protected]>
35e559ae32f22153198bb54a79015982403c704f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/35e559ae32f22153198bb54a79015982403c704f
2015-01-10 14:02:39+01:00
avformat/swfdec: Check frame size rectangle in probe() fixes probetest failure Signed-off-by: Michael Niedermayer <[email protected]>
b7e506b3b9caf1d7b8b494f83a85c1b61be46993
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b7e506b3b9caf1d7b8b494f83a85c1b61be46993
2014-12-21 21:10:20+01:00
smc: fix the bounds check Fixes invalid writes when there are more blocks in a run than total remaining blocks. CC: [email protected] Bug-ID: CVE-2014-8548 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Anton Khirnov <[email protected]>
d423dd72be451462c6fb1cbbe313bed0194001ab
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d423dd72be451462c6fb1cbbe313bed0194001ab
2014-12-19 08:01:47+01:00
lavf/mxfdec: Fix memleaks reading corrupt files. Fixes ticket #4173. Reviewed-by: Tomas Härdin
4373a25d94dba2cb361aa18e8d70806e1894df81
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4373a25d94dba2cb361aa18e8d70806e1894df81
2014-12-15 01:37:12+01:00
avcodec/libutvideoenc: fix leak of info array on error Fixes CID1257657 Reviewed-by: Derek Buitenhuis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
086e29a01119a0108b26568ec1f66bc66ae9c0f7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/086e29a01119a0108b26568ec1f66bc66ae9c0f7
2014-12-11 17:13:49+01:00
swscale/x86/rgb2rgb_template: fix crash with tiny size and nv12 output Fixes Ticket4151 Signed-off-by: Michael Niedermayer <[email protected]>
8524558858b7e14bc50afa10233e0194f591ab9d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8524558858b7e14bc50afa10233e0194f591ab9d
2014-12-03 20:21:56+01:00
ffplay: fix mem leak when opening input or parsing options fail. Reviewed-by: Marton Balint <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
90c9b494052e6110f43f3db8cc8f6720550b397b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/90c9b494052e6110f43f3db8cc8f6720550b397b
2014-11-22 15:55:07+01:00
opusdec: make sure all substreams have the same number of coded samples Fixes invalid writes with invalid multichannel streams. CC:[email protected]
1973079417e8701b52ba810a72cb6c7c6f7f9a56
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1973079417e8701b52ba810a72cb6c7c6f7f9a56
2014-11-27 14:06:03+01:00
vorbis_parser: Move vp check to avoid a null pointer dereference CC: [email protected] Bug-Id: CID 1251347
62e52b94e684491dfc5a6b7ca688bb86f7cd0f3f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/62e52b94e684491dfc5a6b7ca688bb86f7cd0f3f
2014-11-25 02:00:06+00:00
lavc/rv30: fix mem leak in case of init failure Also replaced return -1 with return AVERROR(EINVAL) Signed-off-by: Lukasz Marek <[email protected]>
4e9745fbff5174c0679452b613b0b73f08ca0280
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4e9745fbff5174c0679452b613b0b73f08ca0280
2014-11-23 20:53:17+01:00
lavc/anm: fix mem leak in case of init failure Signed-off-by: Lukasz Marek <[email protected]>
691f9be622c73c5743f38ba494eabc67aa5f43a6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/691f9be622c73c5743f38ba494eabc67aa5f43a6
2014-11-23 03:25:25+01:00
avcodec/mpeg12dec: do not fail on invalid frame_rate_index Fixes Ticket4073 Signed-off-by: Michael Niedermayer <[email protected]>
0f8908aa1b66fbc8d62939ce8ee1ee04b856528f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0f8908aa1b66fbc8d62939ce8ee1ee04b856528f
2014-11-20 15:09:42+01:00
avcodec/mjpegdec: Check for pixfmtid 0x42111100 || 0x24111100 with more than 8 bits These cases are not supported yet Fixes assertion failure Fixes: signal_sigabrt_7ffff6ac7bb9_1_cov_1553101927_00.jpg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
0bf416f2628137e5389050fa323c329692dd4ba6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0bf416f2628137e5389050fa323c329692dd4ba6
2014-11-25 01:23:21+01:00
avcodec/vorbisdec: Fix off by 1 error in ptns_to_read Fixes read of uninitialized memory Fixes: asan_heap-uaf_18dac2b_9_asan_heap-uaf_22eb375_208_beta3_test_small.ogg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
8c50704ebf1777bee76772c4835d9760b3721057
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8c50704ebf1777bee76772c4835d9760b3721057
2014-10-04 03:13:39+02:00
avcodec/mjpegdec: sanity check bits Fixes undefined shift Fixes: asan_heap-oob_16668e9_2_asan_heap-oob_16668e9_346_miss_congeniality_pegasus_mjpg.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
0db1f2c2c78db18999fccd46a156408e5e87c8a1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0db1f2c2c78db18999fccd46a156408e5e87c8a1
2014-10-12 00:28:07+02:00
avcodec/svq3: Dont memcpy AVFrame This avoids out of array accesses Fixes: asan_heap-uaf_21f42e4_9_asan_heap-uaf_21f42e4_278_gl2.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
075a165d2715837d125a9cc714fb430ccf6c9d6b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/075a165d2715837d125a9cc714fb430ccf6c9d6b
2014-10-04 00:21:17+02:00
swresample/audioconvert: Fix undefined behavior (left shift of negative value) Fixes: asan_heap-oob_4da4f3_8_asan_heap-oob_4da4f3_419_scene1a.mm Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
344f8d307ac766c812b4c33331235e8ac9120a9f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/344f8d307ac766c812b4c33331235e8ac9120a9f
2014-10-08 05:35:06+02:00
ffplay: dont leave swresampler in half initialized state On init failure, let's just free it, so next time it will be recreated from start. Also fixes Coverity CID 1241515. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Marton Balint <[email protected]>
ce928d7d2b3bd68a222cfbc19a44805ac4cdaf14
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ce928d7d2b3bd68a222cfbc19a44805ac4cdaf14
2014-10-09 23:18:37+02:00
mpegts: Do not try to write a PMT larger than SECTION_SIZE Prevent out of array writes. Similar to what Michael Niedermayer did to address the same issue. Bug-Id: CVE-2014-2263 CC: [email protected] Signed-off-by: Diego Biurrun <[email protected]>
e8049af1325dd59a51546c15b2e71a0f578e9d27
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e8049af1325dd59a51546c15b2e71a0f578e9d27
2014-08-13 12:43:26-07:00
svq1: do not modify the input packet The input data must remain constant, make a copy instead. This is in theory a performance hit, but since I failed to find any samples using this feature, this should not matter in practice. Also, check the size of the header, avoiding invalid reads on truncated data. CC:[email protected]
7b588bb691644e1b3c168b99accf74248a24e3cf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7b588bb691644e1b3c168b99accf74248a24e3cf
2014-08-06 18:59:27+00:00
avcodec/mpeg12dec: print the amount of overread Signed-off-by: Michael Niedermayer <[email protected]>
7f852962dc6aa681a7c5107d17ad4da03c4fb2ce
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7f852962dc6aa681a7c5107d17ad4da03c4fb2ce
2014-08-01 21:06:13+02:00
avdevice/oss_audio: Check SNDCTL_DSP_GETFMTS failure, print a warning but continue Found-by: CSA and Timothy Gu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
39133efc1b991d91683f7cc36d2ef32896556aa1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/39133efc1b991d91683f7cc36d2ef32896556aa1
2014-07-31 21:19:15+02:00
avutil/opt: ensure the right buffer is used in set_string_number() Fixes use of uninitialized memory Signed-off-by: Michael Niedermayer <[email protected]>
24327706e173c86ad7738dd9c21f214cc78cd8d1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/24327706e173c86ad7738dd9c21f214cc78cd8d1
2014-07-25 21:29:43+02:00
avcodec/rv34: fix crash while seeking on very damaged file Fixes null pointer dereference Fixes Ticket2093 Signed-off-by: Michael Niedermayer <[email protected]>
9195c26d454ca750359db87b1127cd4926c536bd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9195c26d454ca750359db87b1127cd4926c536bd
2014-07-11 05:34:13+02:00
avformat/mpegts: pass MpegTSContext ptr explicitly (fixes #3721) AVFormatContext->priv_data is not always a MpegTSContext, it can be RTSPState when decoding a RTP stream. So it is necessary to pass MpegTSContext pointer explicitly. This fixes memory corruption from bug #3721 (RTSPState is smaller than MpegTSContext thus innocent memory gets overwritten). Signed-off-by: Alexander V. Lukyanov <[email protected]> Reviewed-by: Marton Balint <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
8635954335061ea4c03d3f492b7bc803ea740d9c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8635954335061ea4c03d3f492b7bc803ea740d9c
2014-07-08 22:06:18+02:00
h264: avoid using uninitialized memory in NEON chroma mc Adapt commit 982b596ea6640bfe218a31f6c3fc542d9fe61c31 for the arm and aarch64 NEON asm. 5-10% faster on Cortex-A9.
f23d26a6864128001b03876b0b92fffe131f2060
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f23d26a6864128001b03876b0b92fffe131f2060
2014-06-23 16:32:15+02:00