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/celp_filters: Fix runtime error: signed integer overflow: 1892453989 + 381702783 cannot be represented in type 'int' Fixes: 1766/clusterfuzz-testcase-minimized-6562020075765760 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
fb75ad79cb8a00d42857b252e0049a0bbe90da66
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fb75ad79cb8a00d42857b252e0049a0bbe90da66
2017-05-23 16:11:27+02:00
avcodec/sheervideo: Check input buffer size before allocating and decoding Fixes: Timeout Fixes: 1858/clusterfuzz-testcase-minimized-6450473802399744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
d8030c14bd7ac983b81ebe898631979f6b5aea09
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d8030c14bd7ac983b81ebe898631979f6b5aea09
2017-05-28 13:32:12+02:00
avcodec/aacdec_fixed: Fix runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Fixes: 1878/clusterfuzz-testcase-minimized-6441918630199296 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
6b9cb5d26a2d9905093621d12785bc5903dce66d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6b9cb5d26a2d9905093621d12785bc5903dce66d
2017-05-28 18:27:43+02:00
avcodec/asvdec: Check buf_size Fixes Timeout Fixes: 1746/clusterfuzz-testcase-minimized-6687393392361472 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
cfd1ecdc0bb039014fbb40b45edb88121bad92f9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cfd1ecdc0bb039014fbb40b45edb88121bad92f9
2017-05-22 23:54:33+02:00
avcodec/aacdec: Fix runtime error: signed integer overflow: 2147483520 + 255 cannot be represented in type 'int' Fixes: 1656/clusterfuzz-testcase-minimized-5900404925661184 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
94d05ff15985d17aba070eaec82acd21c0da3d86
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/94d05ff15985d17aba070eaec82acd21c0da3d86
2017-05-17 16:46:21+02:00
avcodec/aacdec_fixed: Fix multiple runtime error: shift exponent 127 is too large for 32-bit type 'int' Fixes: 1762/clusterfuzz-testcase-minimized-5150981081792512 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
620b452a118a6a2345addb4e1d8abf36ad8d1bab
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/620b452a118a6a2345addb4e1d8abf36ad8d1bab
2017-05-23 16:11:27+02:00
avcodec/mlpdec: Fix: runtime error: left shift of negative value -8 Fixes: 1658/clusterfuzz-testcase-minimized-4889937130291200 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
25c81e4b737bcc737b13c9a752cb301a28cb3906
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/25c81e4b737bcc737b13c9a752cb301a28cb3906
2017-05-18 04:08:31+02:00
avcodec/mss34dsp: Fix multiple signed integer overflow Fixes: 1387/clusterfuzz-testcase-minimized-4802757766676480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
464c4b86ee43b7912e6f23fd3e5ba40381b4c371
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/464c4b86ee43b7912e6f23fd3e5ba40381b4c371
2017-05-07 15:31:00+02:00
avcodec/webp: Fix signedness in prefix_code check Fixes: out of array read Fixes: 1557/clusterfuzz-testcase-minimized-6535013757616128 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
8c5cd1c9d33b4b287f85d42efb1aecfaee31de6c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8c5cd1c9d33b4b287f85d42efb1aecfaee31de6c
2017-05-13 23:22:22+02:00
avcodec/fmvc: Check nb_blocks Fixes: out of array read Fixes: 1508/clusterfuzz-testcase-minimized-5011336327069696 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
0158b405a71f386c7844a3d975315afd47f16b5d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0158b405a71f386c7844a3d975315afd47f16b5d
2017-05-13 01:23:23+02:00
avcodec/msmpeg4dec: Correct table depth Fixes undefined shift Fixes: 1381/clusterfuzz-testcase-minimized-5513944540119040 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
1121d9270783b284a70af317d8785eac7df1b72f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1121d9270783b284a70af317d8785eac7df1b72f
2017-05-07 04:11:21+02:00
avcodec/ivi_dsp: Fix multiple left shift of negative value -2 Fixes: 1385/clusterfuzz-testcase-minimized-5552882663292928 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
9e88cc94e58e9e4d1293f9f56c973510e30495fd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9e88cc94e58e9e4d1293f9f56c973510e30495fd
2017-05-07 04:11:21+02:00
avcodec/rangecoder: Test for invalid corner case Fixes runtime error: left shift of 1912602815 by 8 places cannot be represented in type 'int' Fixes: 1403/clusterfuzz-testcase-minimized-4724820484816896 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
5f928c5201c077b9765610bc5304235c3f1d9bd6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5f928c5201c077b9765610bc5304235c3f1d9bd6
2017-05-08 03:25:17+02:00
avcodec/shorten: Check residual size Fixes assertion failure Signed-off-by: Michael Niedermayer <[email protected]>
df8575584dcacde187d92ee3142800373fd34882
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/df8575584dcacde187d92ee3142800373fd34882
2017-05-06 19:53:25+02:00
avcodec/mdec: Fix signed integer overflow: 28835400 * 83 cannot be represented in type 'int' Fixes: 1346/clusterfuzz-testcase-minimized-5776732600664064 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
a234b5ade3ca6cde805b92b8b6ecacf693460a8c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a234b5ade3ca6cde805b92b8b6ecacf693460a8c
2017-05-06 00:33:19+02:00
avformat/movenc: Explicitly address potential division by zero. find_fps attempts to infer framerate from AVCodec's timebase. When this results in a frame rate that isn't explicitly marked as supported in av_timecode_check_frame_rate, find_fps returns the AVStream's avg_frame_rate, which, per avformat.h, _may_ be set (or not). mov_get_mpeg2_xdcam_codec_tag, mov_get_h264_codec_tag and find_compressor attempt to call av_q2d on the return value of find_fps, which in the above case, may result in division by zero and therefore, an undefined frame rate when NaN is converted to int. Signed-off-by: Michael Niedermayer <[email protected]>
77bc507f6f001b9f5fa75c664106261bd8f2c971
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/77bc507f6f001b9f5fa75c664106261bd8f2c971
2017-04-29 03:54:31+02:00
avcodec/h264: Check weight values to be within the specs limits. Fixes: integer overflows Fixes: 911/clusterfuzz-testcase-5415105606975488 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Reviewed-by: "Ronald S. Bultje" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
08117a40157464f8a9dcc2df393fa5fe299c1e98
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/08117a40157464f8a9dcc2df393fa5fe299c1e98
2017-04-07 15:33:17+02:00
dnxhd: initialize DNXHDContext::avctx to each thread's respective one. Otherwise all thread's private contexts have the avctx pointer set to the AVCodecContext of the first thread, which means all writes to ctx->avctx->* (in e.g. read_header) are effectively race conditions. Fixes fate-dnxhd under tsan.
f800d6508d7e8fbd8d9777b775d333a4f02112ef
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f800d6508d7e8fbd8d9777b775d333a4f02112ef
2017-03-31 08:26:23-04:00
hevc: initialize no_rasl_output_flag in hevc_frame_start(). This prevents a race condition in files with multiple slices per frame.
bddabfaab65808e40605181d579ffcd85bfe4c26
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bddabfaab65808e40605181d579ffcd85bfe4c26
2017-03-28 18:04:27-04:00
avcodec: Avoid splitting side data repeatedly Fixes Timeout Fixes: 508/clusterfuzz-testcase-6245747678773248 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
e813df4fa345684cc5a63da0510c14f197c9b732
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e813df4fa345684cc5a63da0510c14f197c9b732
2017-05-06 03:54:17+02:00
avcodec/dds: Fix runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Fixes: 1380/clusterfuzz-testcase-minimized-650122545122508 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
8a8335de030aa6cb6356bb16c7d3aefc5a80e362
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8a8335de030aa6cb6356bb16c7d3aefc5a80e362
2017-05-06 23:23:39+02:00
configure: Disable inline assembly for PathScale compilers These compilers pass the inline assembly check, but fail to compile our inline assembly in various ways.
75ef91543422049a01b594925fcdb182ea12eb09
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/75ef91543422049a01b594925fcdb182ea12eb09
2017-03-27 09:47:58+02:00
avcodec/mpeg4videodec: Fix runtime error: signed integer overflow: -135088512 * 16 cannot be represented in type 'int' Fixes: 736/clusterfuzz-testcase-5580263943831552 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
e2a4f1a9eb2c1ef3feed4a4f04db7629f2b61084
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e2a4f1a9eb2c1ef3feed4a4f04db7629f2b61084
2017-03-09 23:28:10+01:00
avcodec/wavpack: Check bitrate_acc for overflow Fixes: undefined behavior in 717/clusterfuzz-testcase-5434924129583104 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
d03d38616278bf209e6c860d8f9f564cbc6c1780
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d03d38616278bf209e6c860d8f9f564cbc6c1780
2017-03-05 12:01:46+01:00
ffmpeg: properly cleanup filter graph on init failure The filter field is often used to check whether a filter is configured. If configuring the filter actually fails somewhere in the middle of it, these fields could still be set to non-NULL, which lead to other code accessing the half-configured filter graph, which in turn could lead to crashes within libavfilter. Solve this by properly resetting all fields. This was triggered by a fuzzed sample after the recent changes. It's unknown whether this behavior could be triggered before that.
16abc10b0997c76cbb0c0ebedc49f6bc21452f9d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/16abc10b0997c76cbb0c0ebedc49f6bc21452f9d
2017-03-03 08:45:43+01:00
avcodec/pictordec: Fix runtime error: left shift of 805306368 by 2 places cannot be represented in type 'int' Fixes: 823/clusterfuzz-testcase-6727060074528768 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
0728d9a281068add5898a8b51cd9c6f3b973ea31
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0728d9a281068add5898a8b51cd9c6f3b973ea31
2017-03-14 22:48:49+01:00
avcodec/vp56: Require a correctly decoded frame before using vp56_conceal_mb() Fixes timeout with 700/clusterfuzz-testcase-5660909504561152 Fixes timeout with 702/clusterfuzz-testcase-4553541576294400 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
2ce4f28431623cdde4aa496fd10430f6c7bdef63
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2ce4f28431623cdde4aa496fd10430f6c7bdef63
2017-03-04 03:05:15+01:00
avcodec/vp56: Fix sign typo Fixes: 664/clusterfuzz-testcase-4917047475568640 The change to fate is due to a truncated last frames which is now detected as damaged. Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
513a3494396d0a20233273b3cadcb5ee86485d5c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/513a3494396d0a20233273b3cadcb5ee86485d5c
2017-02-24 22:23:53+01:00
avcodec/h264_ps: Check chroma_qp_index_offset Fixes: 647/clusterfuzz-testcase-5195745823031296 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Reviewed-by: BBB Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
9568b2e425f127031ddc91dd78cb9b9f2cae206d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9568b2e425f127031ddc91dd78cb9b9f2cae206d
2017-02-23 02:37:55+01:00
avutil/frame: Reimplement av_frame_new_side_data() without size=0 special case The size 0 special case causes side data to be created which is different and a special case if for any reasons size = 0 is passed Fixes: multiple runtime error: null pointer passed as argument 1, which is declared to never be null Fixes: 653/clusterfuzz-testcase-5773837415219200 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
5804201cbac2de8824013a8294e381e93bbe45f2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5804201cbac2de8824013a8294e381e93bbe45f2
2017-02-25 22:02:23+01:00
avcodec/wavpacl: Fix runtime error: left shift of negative value -1 Fixes: 607/clusterfuzz-testcase-5108792465293312 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
12eebb845a7fe1ced91606547352cbdd93a2726d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/12eebb845a7fe1ced91606547352cbdd93a2726d
2017-02-19 15:58:30+01:00
avcodec/pngdec: Check bit depth for validity Fixes: runtime error: shift exponent 132 is too large for 32-bit type 'int' Fixes: 609/clusterfuzz-testcase-4825202619842560 See 11.2.2 IHDR Image header Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
4279613a2652cdf2bee564f4b7244567e5ba91ba
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4279613a2652cdf2bee564f4b7244567e5ba91ba
2017-02-19 19:48:57+01:00
ffplay: allow borderless playback windows For a pure video tile effect, and enabling better integration of playback windows into other programs. It would improve the looks in many situations and avoid ugly hacks like this: http://stackoverflow.com/q/31465630/315024 Signed-off-by: Lucas Sandery <[email protected]> Signed-off-by: Marton Balint <[email protected]>
15d7e31dcb68f30ebd725c495a191d5917a3b602
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/15d7e31dcb68f30ebd725c495a191d5917a3b602
2017-02-01 22:03:26+01:00
boadec: prevent overflow during block alignment calculation Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
9ec8790ac4787d3d514c5fa27b66d581614fd1be
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9ec8790ac4787d3d514c5fa27b66d581614fd1be
2017-01-29 01:20:52+01:00
avutil/tests/audio_fifo.c: Memory leak and tab space fixes Prevents memory leak when read_samples_from_audio_fifo() is called more than once by deallocating before reallocating more memory. Fixes space indentation for contents in ERROR(). Signed-off-by: Thomas Turner <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
1bfb4587a2e5b25ed15f742149e555efc8f305ae
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1bfb4587a2e5b25ed15f742149e555efc8f305ae
2016-12-31 17:20:06+01:00
ffserver_config: Check for failure to allocate FFServerIPAddressACL Fixes CID1396537 Signed-off-by: Michael Niedermayer <[email protected]>
f9315ea984efc1a58499664e27b75c37295381db
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f9315ea984efc1a58499664e27b75c37295381db
2016-12-22 19:23:08+01:00
libopusdec: default to stereo for invalid number of channels This fixes an out-of-bounds read if avc->channels is 0. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
f92d7bdfddfaac04b3bb31f2749d173ca1d8ba6d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f92d7bdfddfaac04b3bb31f2749d173ca1d8ba6d
2016-11-23 13:03:15+01:00
aarch64: Add an offset parameter to the movrel macro With apple tools, the linker fails with errors like these, if the offset is negative: ld: in section __TEXT,__text reloc 8: symbol index out of range for architecture arm64 This is cherry-picked from libav commit c44a8a3eabcd6acd2ba79f32ec8a432e6ebe552c. Signed-off-by: Ronald S. Bultje <[email protected]>
7fe898dbb949f0e31665d716f671e2428d50bb29
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7fe898dbb949f0e31665d716f671e2428d50bb29
2016-11-15 15:10:03-05:00
ffmpeg: don't overwrite av_bsf_receive_packet return value before checking it Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
55061bbc558e22db04a40e4efed46d9c15b124b6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/55061bbc558e22db04a40e4efed46d9c15b124b6
2016-11-05 00:04:27-03:00
diracdec: check return code of get_buffer_with_edge If it fails, buffers aren't allocated, causing NULL pointer dereferencing. Reviewed-by: Rostislav Pehlivanov <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
db79dedb1ae5dd38432eee3f09155e26f3f2d95a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/db79dedb1ae5dd38432eee3f09155e26f3f2d95a
2016-11-04 20:35:23+01:00
ffmpeg: Fix bsf corrupting merged side data Signed-off-by: Michael Niedermayer <[email protected]>
11f24e71ff2b598d973fd24bcf950eebaea9b3e6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/11f24e71ff2b598d973fd24bcf950eebaea9b3e6
2016-11-04 00:42:58+01:00
avformat/utils: Discard huge timestamps which would cause overflows if used in basic computations Allowing larger timestamps makes it impossible to calculate basic things like the difference of 2 timestamps or their sum without checking each individual computation for overflow. This should avoid a significant number of overflow checks Fixes Ticket5136 Signed-off-by: Michael Niedermayer <[email protected]>
e936c8d176efd1a0a41e22df24564b1178c79ea9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e936c8d176efd1a0a41e22df24564b1178c79ea9
2016-10-26 19:46:00+02:00
diracdec: clear slice_params_num_buf on allocation failure Otherwise it can be non-zero next time decode_lowdelay is called, causing slice_params_buf not to be allocated, leading to a NULL pointer dereference. The problem was introduced in commit dcad4677d637cd2f701917e38361fa96b8c9a418. Reviewed-by: Rostislav Pehlivanov <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
24d20496d2e6e1df6456c5231d892269dd1fcf38
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/24d20496d2e6e1df6456c5231d892269dd1fcf38
2016-11-04 20:34:51+01:00
lavf/utils: Avoid an overflow for huge negative durations. Fixes ticket #5135.
267da70ea8c36caaa645a3c4f1c5f0ca8bae156a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/267da70ea8c36caaa645a3c4f1c5f0ca8bae156a
2016-09-24 21:01:46+02:00
avformat/movenc: Check first DTS similar to dts difference Fixes assertion failure Fixes: b84b53855a0b74560e64c6f45f505a13/signal_sigabrt_7ffff6ae7c37_3837_ef4e243ea5b4fa8d0becf4afe9166604.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
68f4c2163ec6d4534ae1756dbcf259845f2e4d2c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/68f4c2163ec6d4534ae1756dbcf259845f2e4d2c
2016-09-10 00:50:36+02:00
vcodec/h2645_parse: Clear buffer padding Fixes use of uninitialized memory Fixes: 044100cb22845944988a4bd821ff8074/asan_heap-oob_329927a_1366_c3de34ce9217dac820fbb46171031bbb.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
382a68b0088b06b8df20d0133d767d53d8f161ef
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/382a68b0088b06b8df20d0133d767d53d8f161ef
2016-08-18 23:36:18+02:00
configure: check for dlsym as well For some reason, when compiling with gcc-asan and a recent enough gcc version(seen on 5.3+ so far), linking dlopen works without -ldl, but dlsym fails with: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' So this patchs checks for both dlopen and dlsym to work for determining if -ldl is needed.
1c37be6e95ba2b6050502839eb73ca5b3809b71c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1c37be6e95ba2b6050502839eb73ca5b3809b71c
2016-09-03 00:09:39+02:00
checkasm/vp9dsp: use declare_func_emms in check_loopfilter Fixes checkasm failures on mmxext functions Signed-off-by: James Almer <[email protected]>
54a0a52be100d36291084f92b7d6aee1a4960acb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/54a0a52be100d36291084f92b7d6aee1a4960acb
2016-07-26 22:16:21-03:00
h264dec: handle zero-sized NAL units in get_last_needed_nal() The current code will ignore the init_get_bits() failure and do an invalid read from the uninitialized GetBitContext. Found-By: Jan Ruge <[email protected]> Bug-Id: 952
76f7e70aa04fc5dbef5242b11cbf8fe4499f61d4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/76f7e70aa04fc5dbef5242b11cbf8fe4499f61d4
2016-07-20 16:35:55+02:00
libavutil/opencl: fixed uninitialized var warning Signed-off-by: Michael Niedermayer <[email protected]>
6b852a3fd94210779491d51441a3439831841a55
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6b852a3fd94210779491d51441a3439831841a55
2016-05-23 11:28:03+02:00
avcodec/diracdec: Fix potential integer overflow Fixes CID1361948 Signed-off-by: Michael Niedermayer <[email protected]>
7ecfe4dc363435c81e66dd14881dc0b0ccc73fb1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7ecfe4dc363435c81e66dd14881dc0b0ccc73fb1
2016-05-19 18:13:29+02:00
avformat/utils: Do not compute the bitrate from duration == 0 Fixes division by 0 in fate-acodec-ra144 Signed-off-by: Michael Niedermayer <[email protected]>
635b2ec5f20d6cdef1adf4907ca28f8f09abcecc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/635b2ec5f20d6cdef1adf4907ca28f8f09abcecc
2016-05-16 14:23:49+02:00
vc2enc: prevent random data The slice prefix is 0 in the reference encoder and the decoder ignores it. Writing 0 there seems like the best temporary solution. The padding could have contained uninitialized data, but reference VC2 encoders put 0xFF there, hence the memset value. Overall this allows producing bistreams with no random data for use by fate.
9c1aa14bf0b88da9f91dc114519e725cbd69180e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9c1aa14bf0b88da9f91dc114519e725cbd69180e
2016-05-06 01:12:51+01:00
2enc: clip and warn when user bitrate set too low The encoder crashed on verly low bitrates since there wasn't enough space allocated. Signed-off-by: Rostislav Pehlivanov <[email protected]>
2f19583911eb4d67afaa72ec2bdbef583087f3f7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2f19583911eb4d67afaa72ec2bdbef583087f3f7
2016-02-28 19:06:29+00:00
mjpegdec: Do not assume unused plane pointer are NULL. We do neither document nor check such a requirement and for application-provided get_buffer2 they could contain the result of a malloc(0) or whatever value they had previously. This fixes a use-after-free in e.g. MPlayer: https://trac.mplayerhq.hu/ticket/2262 We might want to consider changing the (documented) API in addition though. Signed-off-by: Reimar Döffinger <[email protected]>
45fa03b1f9b0475df666f7592f250c37763b7d64
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/45fa03b1f9b0475df666f7592f250c37763b7d64
2016-02-28 13:32:01+01:00
mpeg4videodec: silence ubsan warning s->ac_val[0][0] is of type 'int16_t [16]', but points into a larger buffer. Here it is used as base pointer to find the correct position in the larger buffer by adding 's->block_index[n] * 16' and thus as 'int16_t *'. This fixes clang's ubsan runtime error: index out of bounds for type 'int16_t [16]' Fixes: test_case.mp4 Found-by: Tyson Smith <[email protected]> Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
564dd3f0f40008be8943af59686c0e8c4d67dd08
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/564dd3f0f40008be8943af59686c0e8c4d67dd08
2016-01-15 23:48:33+01:00
avformat/rmdec: Fix Packet memleak at close() Fixes: asan_heap-oob_445b39_1741_d00eb645ab48eb2203b4a04a5b997103.ivr Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c3a24006d552d02a23f8adbbc475c0f09318a378
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c3a24006d552d02a23f8adbbc475c0f09318a378
2016-01-14 23:49:52+01:00
avcodec/h264_slice: Fix integer overflow in implicit weight computation Fixes mozilla bug 1230423 Signed-off-by: Michael Niedermayer <[email protected]>
7cc01c25727a96eaaa0c177234b626e47c8ea491
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7cc01c25727a96eaaa0c177234b626e47c8ea491
2016-01-05 01:12:42+01:00
avcodec/ass_split: Fix null pointer dereference in ff_ass_style_get() Fixes: 55d71971da50365d542ed14b65565fe1/signal_sigsegv_4765a4_8499_f146af090a94f591d6254515c7700ef5.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
158f0545d81b2aca1c936490f80d13988616910e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/158f0545d81b2aca1c936490f80d13988616910e
2016-01-20 16:21:41+01:00
arm: add a cpu flag for the VFPv2 vector mode The vector mode was deprecated in ARMv7-A/VFPv3 and various cpu implementations do not support it in hardware. Vector mode code will depending the OS either be emulated in software or result in an illegal instruction on cpus which does not support it. This was not really problem in practice since NEON implementations of the same functions are preferred. It will however become a problem for checkasm which tests every cpu flag separately. Since this is a cpu feature newer cpu do not support anymore the behaviour of this flag differs from the other flags. It can be only activated by runtime cpu feature selection.
e2710e790c09e49e86baa58c6063af0097cc8cb0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e2710e790c09e49e86baa58c6063af0097cc8cb0
2015-12-14 16:42:35+01:00
aacenc_ltp: fix out of bounds memory access Discovered by Coverity.
ed08cbd7b172a1dba74230527ef761aafaf2fcce
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ed08cbd7b172a1dba74230527ef761aafaf2fcce
2015-12-03 23:12:37+00:00
avformat/utils: estimate_timings_from_pts - increase retry counter, fixes invalid duration for ts files with hevc codec Fixes a mpegts file with hevc that fails estimating duration. Increasing number of retries fixes the issue. Signed-off-by: Michael Niedermayer <[email protected]>
2d8c2f1a28073d451c7db31291c333cb15ca3d0b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2d8c2f1a28073d451c7db31291c333cb15ca3d0b
2015-11-15 15:39:23+01:00
avcodec/ivi: Check image dimensions Fixes integer overflow Fixes: 1e32c6c591d940337c20b197ec1c4d3d/asan_heap-oob_4a52e5_8946_0bb0d9e863def56005e49f1d89bdc94d.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
df91aa034b82b77a3c4e01791f4a2b2ff6c82066
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/df91aa034b82b77a3c4e01791f4a2b2ff6c82066
2015-11-14 02:37:12+01:00
ffmpeg: Fix integer overflow with cur_dts being AV_NOPTS_VALUE Since de0e219a8aba72de201e85385c746cd1c04be1a2 cur_dts is sometimes invalid
6770a9d6898a0c7561586dabd7a4e5b5187bed62
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6770a9d6898a0c7561586dabd7a4e5b5187bed62
2015-11-11 17:46:19+01:00
avformat: always unref the packet after parsing This fixes a memory leak when side-data is present.
b64fe493717cb2f05a019d9f13778382a78d9d0a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b64fe493717cb2f05a019d9f13778382a78d9d0a
2015-11-02 09:03:56+01:00
avcodec/h264_slice: Disable slice threads if there are multiple access units in a packet Fixes null pointer dereference Fixes Ticket4977 Signed-off-by: Michael Niedermayer <[email protected]>
507b01f89969601f15555f7416804fb691632cbb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/507b01f89969601f15555f7416804fb691632cbb
2015-10-31 22:56:48+01:00
avutil/mathematics: correct documentation for av_gcd av_gcd is now always defined regardless of input. This documents this change in the "documented API". Two benefits (closely related): 1. The function is robust, and there is no need to worry about INT64_MIN, etc. 2. Clients of av_gcd, like av_reduce, can now be made fully correct. Currently, av_reduce can trigger undefined behavior if e.g num is INT64_MIN due to integer overflow in the FFABS. Furthermore, this undefined behavior is completely undocumented, and could be a fuzzer's paradise. The FFABS was needed in the past as av_gcd was undefined for negative inputs. In order to make av_reduce robust, it is essential to guarantee that av_gcd works for all int64_t. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
20a30077c3659e6dc0c5b9dfa08d39b70a6b5f4e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/20a30077c3659e6dc0c5b9dfa08d39b70a6b5f4e
2015-10-30 13:42:04-04:00
avprobe: Unref the packet once it is used Make sure it does not leak packets. CC: [email protected]
f0ca6ffa0ae5d5564516ee7a18aa1e234751444a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f0ca6ffa0ae5d5564516ee7a18aa1e234751444a
2015-10-26 18:00:54+01:00
FATE: Increase FUZZ value on AAC LTP encoding test Clang prerelease on Darwin is making the test fail.
af71c73fb42f4467701073cddd30002730e79c92
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/af71c73fb42f4467701073cddd30002730e79c92
2015-10-27 07:41:33+00:00
ffmpeg: exit on corrupt packets or decoded frames if exit_on_error flag is present Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Marton Balint <[email protected]>
b69b43e2c471c4febbffaf313875396256b6a51e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b69b43e2c471c4febbffaf313875396256b6a51e
2015-10-22 05:07:46+02:00
avfilter/avfilter: Error out if audio parameters change instead of failing an assert Filters which support such changes should be excluded from these checks Fixes Ticket4884 Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
377883c4be7a5b27d57737a79d6a58a6af0ae6cd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/377883c4be7a5b27d57737a79d6a58a6af0ae6cd
2015-10-16 15:25:09+02:00
avcodec/jpeg2000: replace naive pow call with smarter exp2fi pow is a very wasteful function for this purpose. A low hanging fruit would be simply to replace with exp2f, and that does yield some speedup. However, there are 2 drawbacks of this: 1. It does not exploit the integer nature of the argument. 2. (minor) Some platforms lack a proper exp2f routine, making benefits available only to non broken libm. 3. exp2f does not solve the same issue that plagues pow, namely terrible worst case performance. This is a fundamental issue known as the "table-maker's dilemma" recognized by Prof. Kahan himself and subsequently elaborated and researched by many others. All this is clear from benchmarks below. This exploits the IEEE-754 format to get very good performance even in the worst case for integer powers of 2. This solves all the issues noted above. Function tested with clang usan over [-1000, 1000] (beyond range of relevance for this, which is [-255, 255]), patch itself with FATE. Benchmarks obtained on x86-64, Haswell, GNU-Linux via 10^5 iterations of the pow call, START/STOP, and command ffplay ~/samples/jpeg2000/chiens_dcinema2K.mxf. Low number of runs also given to prove the point about worst case: pow: 216270 decicycles in pow, 1 runs, 0 skips 110175 decicycles in pow, 2 runs, 0 skips 56085 decicycles in pow, 4 runs, 0 skips 29013 decicycles in pow, 8 runs, 0 skips 15472 decicycles in pow, 16 runs, 0 skips 8689 decicycles in pow, 32 runs, 0 skips 5295 decicycles in pow, 64 runs, 0 skips 3599 decicycles in pow, 128 runs, 0 skips 2748 decicycles in pow, 256 runs, 0 skips 2304 decicycles in pow, 511 runs, 1 skips 2072 decicycles in pow, 1022 runs, 2 skips 1963 decicycles in pow, 2044 runs, 4 skips 1894 decicycles in pow, 4091 runs, 5 skips 1860 decicycles in pow, 8184 runs, 8 skips exp2f: 134140 decicycles in pow, 1 runs, 0 skips 68110 decicycles in pow, 2 runs, 0 skips 34530 decicycles in pow, 4 runs, 0 skips 17677 decicycles in pow, 8 runs, 0 skips 9175 decicycles in pow, 16 runs, 0 skips 4931 decicycles in pow, 32 runs, 0 skips 2808 decicycles in pow, 64 runs, 0 skips 1747 decicycles in pow, 128 runs, 0 skips 1208 decicycles in pow, 256 runs, 0 skips 952 decicycles in pow, 512 runs, 0 skips 822 decicycles in pow, 1024 runs, 0 skips 765 decicycles in pow, 2047 runs, 1 skips 722 decicycles in pow, 4094 runs, 2 skips 693 decicycles in pow, 8190 runs, 2 skips exp2fi: 2740 decicycles in pow, 1 runs, 0 skips 1530 decicycles in pow, 2 runs, 0 skips 955 decicycles in pow, 4 runs, 0 skips 622 decicycles in pow, 8 runs, 0 skips 477 decicycles in pow, 16 runs, 0 skips 368 decicycles in pow, 32 runs, 0 skips 317 decicycles in pow, 64 runs, 0 skips 291 decicycles in pow, 128 runs, 0 skips 277 decicycles in pow, 256 runs, 0 skips 268 decicycles in pow, 512 runs, 0 skips 265 decicycles in pow, 1024 runs, 0 skips 263 decicycles in pow, 2048 runs, 0 skips 263 decicycles in pow, 4095 runs, 1 skips 260 decicycles in pow, 8191 runs, 1 skips Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
42868ca569f33b91b0e61ecc3065e7199e9ca58a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/42868ca569f33b91b0e61ecc3065e7199e9ca58a
2015-12-08 22:00:05-05:00
ffserver: avoid leaking pathname at exit Fixes Coverity CID 1325681 Signed-off-by: Reynaldo H. Verdejo Pinochet <[email protected]>
fe95b0eb8fdfd8d531a03b621e1a21a6f3c87811
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fe95b0eb8fdfd8d531a03b621e1a21a6f3c87811
2015-10-04 22:31:22-07:00
avcodec/pngenc: Initialize fctl_chunk to 0 The structure is copied around and that triggers warnings if it is uninitialized Fixes CID1322360 Signed-off-by: Michael Niedermayer <[email protected]>
e96ecaf053d8d606e38ae2e56ba6cf58875021b0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e96ecaf053d8d606e38ae2e56ba6cf58875021b0
2015-10-07 02:49:34+02:00
avcodec/pngdec: mark previous_picture as done on end of decode_frame_common() Fixes deadlock with threads Found-by: Paul B Mahol Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
9e9d731b510666edac3a2b450dfc331279db818b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9e9d731b510666edac3a2b450dfc331279db818b
2015-10-01 01:11:45+02:00
aacenc: add support for changing options based on a profile This commit adds the ability for a profile to set the default options, as well as for the user to override such options by simply stating them in the command line while still keeping the same profile, as long as those options are still permitted by the profile. Example: setting the profile to aac_low (the default) will turn PNS and IS on. They can be disabled by -aac_pns 0 and -aac_is 0, respectively. Turning on -aac_pred 1 will cause the profile to be elevated to aac_main, as long as no options forbidding aac_main have been entered (like AAC-LTP, which will be pushed soon). A useful feature is that by setting the profile to mpeg2_aac_low, all MPEG4 features will be disabled and if the user tries to enable them then the program will exit with an error. This profile is signalled with the same bitstream as aac_low (MPEG4) but some devices and decoders will fail if any MPEG4 features have been enabled.
0f4334df45eed326577d076167bb2d48b67a40b7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0f4334df45eed326577d076167bb2d48b67a40b7
2015-10-12 16:57:56+01:00
avfilter/vf_vectorscope: fix bug in checking pixel format flags Signed-off-by: Paul B Mahol <[email protected]>
3fbc9deb954c014bca224f7d85476ed5229e89b5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3fbc9deb954c014bca224f7d85476ed5229e89b5
2015-08-26 11:11:26+00:00
avcodec/vc1dec: Re-order init to avoid initting hwaccel too early At least for vdpau, the hwaccel init code tries to check the video profile and ensure that there is a matching vdpau profile available. If it can't find a match, it will fail to initialise. In the case of wmv3/vc1, I observed initialisation to fail all the time. It turns out that this is due to the hwaccel being initialised very early in the codec init, before the profile has been extracted and set. Conceptually, it's a simple fix to reorder the init code, but it gets messy really fast because ff_get_format(), which is what implicitly trigger hwaccel init, is called multiple times through various shared init calls from h263, etc. It's incredibly hard to prove to my own satisfaction that it's safe to move the vc1 specific init code ahead of this generic code, but all the vc1 fate tests pass, and I've visually inspected a couple of samples and things seem correct. Signed-off-by: Philip Langdale <[email protected]>
91f1115a0e027074c90bac6e57c2d0f4fe9efe8c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/91f1115a0e027074c90bac6e57c2d0f4fe9efe8c
2015-08-28 19:11:55-07:00
avcodec/truemotion1: Fix undefined behavior (left shift of negative value) Fixes: asan_heap-oob_26f6853_862_cov_585961513_sonic3dblast_intro-partial.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
cf818be4f2f1e06bf63da3a6b55a4c3620952070
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cf818be4f2f1e06bf63da3a6b55a4c3620952070
2015-09-02 20:45:07+02:00
avfilter/af_compand: fix clipping with default options Decays and attacks where by default set only for first channel which caused poor defaults to be used which produced clipping on any higher channel. Reported-by: lachs0r Signed-off-by: Paul B Mahol <[email protected]>
297df52f303529fd3c326bc8f398a5b3cbf71c0b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/297df52f303529fd3c326bc8f398a5b3cbf71c0b
2015-07-17 11:29:29+00:00
avformat/oggdec: Check buf before copying data in to it Fixes null pointer dereference Fixes: aace024653cc62947336b86f8de812ab_signal_sigsegv_a0500f_343_WobblyWindowsIntro.ogg with memlimit 262144 Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
32d023eb6d0a80be551d8cfb207df61928db930b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/32d023eb6d0a80be551d8cfb207df61928db930b
2015-07-13 22:10:24+02:00
avcodec/adpcm: Check for overreads See: vlc ticket 14649 Reported-by: carl Signed-off-by: Michael Niedermayer <[email protected]>
3c803ed9cb23e5a8d76b6c31d8a8c71cac27e769
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3c803ed9cb23e5a8d76b6c31d8a8c71cac27e769
2015-06-04 22:37:01+02:00
avformat/movenc: Fix potential signed overflows Fixes CID1302838 Signed-off-by: Michael Niedermayer <[email protected]>
627dd7fe7ee68259a76c742ea9fdb0916101d152
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/627dd7fe7ee68259a76c742ea9fdb0916101d152
2015-06-01 17:54:58+02:00
lavf/tls_securetransport: fix SNI support when not verifying Signed-off-by: Michael Niedermayer <[email protected]>
ecefce41d9f9fd10a8f564b011cd565cff2eb3ef
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ecefce41d9f9fd10a8f564b011cd565cff2eb3ef
2015-06-09 01:06:32+02:00
h264: Make sure reinit failures mark the context as not initialized Bug-Id: CVE-2015-3417 CC: [email protected]
0181ae9af2de1526464d23209b82e6674d362f5d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0181ae9af2de1526464d23209b82e6674d362f5d
2015-05-30 16:28:32+02:00
apedec: prevent out of array writes in decode_array_0000 s->decoded_buffer is allocated with a min_size of: 2 * FFALIGN(blockstodecode, 8) * sizeof(*s->decoded_buffer) Then it is assigned to s->decoded[0] (and s->decoded_buffer + FFALIGN(blockstodecode, 8) to s->decoded[1]) and passed as out buffer to decode_array_0000. In this function 64 elements of the out buffer are written unconditionally and outside the array if blockstodecode is too small. This causes memory corruption, leading to segmentation faults or other crashes. Thus change decode_array_0000 to write at most blockstodecode elements of the out buffer. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
699341d647f7af785fb8ceed67604467b0b9ab12
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/699341d647f7af785fb8ceed67604467b0b9ab12
2015-04-28 12:43:13+02:00
pngdec: return correct error code from decode_frame_common During the loop ret can get changed. Since it is not set on all failure paths, decode_frame_common can return 0 even though an error occurred. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
8f760be4d312bb6e78f80d39b9d0062253332e08
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8f760be4d312bb6e78f80d39b9d0062253332e08
2015-05-03 20:28:35+02:00
avformat/avidec: initialize header array Fixes use of uninitialized memory in case read fails Signed-off-by: Michael Niedermayer <[email protected]>
8a048fe6f8bf41de93c091a7a9b3132bedc1b41c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8a048fe6f8bf41de93c091a7a9b3132bedc1b41c
2015-03-05 18:41:03+01:00
mips/float_dsp: fix a bug in vector_fmul_window_mips Loop was unrolled eight times although in heder there is assumption that len is multiple of 4. This is fixed, and assembly code is rewritten to be more optimal and to simplify clobber list. Signed-off-by: Nedeljko Babic <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
dfa920807494f0bc505aa090e036b531daa604ad
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dfa920807494f0bc505aa090e036b531daa604ad
2015-03-05 12:31:44+01:00
ffplay: Switch to show waves mode if allocation/init of RDFT fails Fixes null pointer dereference Found-by: Paweł <[email protected]> Reviewed-by: Marton Balint <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
7da7d269b8409b2533f4434ab10a197d5726569e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7da7d269b8409b2533f4434ab10a197d5726569e
2015-03-04 03:04:04+01:00
avformat/omadec: Use 64bit for ret to avoid overflow Signed-off-by: Michael Niedermayer <[email protected]>
0f55bc29d41585d110b126cb4ed4b395fd46d7ac
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0f55bc29d41585d110b126cb4ed4b395fd46d7ac
2015-02-20 21:01:54+01:00
avformat/idcin: Use 64bit for ret to avoid overflow Signed-off-by: Michael Niedermayer <[email protected]>
d1923d15a3544cbb94563a59e7169291db76b312
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d1923d15a3544cbb94563a59e7169291db76b312
2015-02-20 20:13:06+01:00
hls: fix a null pointer dereference Not allocating the pls->ctx will crash in libavformat/hls.c:1410, where it tries to dereference the field. Sample: http://ec24.rtp.pt/liverepeater/rtpn.smil/playlist.m3u8 Signed-off-by: Michael Niedermayer <[email protected]>
4bf3fab2811509a4f9ca932191e9bfa801ceeae2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4bf3fab2811509a4f9ca932191e9bfa801ceeae2
2015-02-16 19:59:04+01:00
avformat/movenc: Move avid DNxHD padding to the correct spot Outputting DNxHD into .mov containers 'corrupts' following atoms until end of stsd ffmpeg and qtdump could not decode pasp/colr atoms in the files made by ffmpeg, when outputting DNxHD due to the incorrect padding placement. Now we add the padding in the correct place Tidy up FATE changes due to padding changes. Signed-off-by: Michael Niedermayer <[email protected]>
31c7c0e156975be615479948824c1528952c0731
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/31c7c0e156975be615479948824c1528952c0731
2015-02-20 12:17:14+01:00
hevc: free sao buffers when receiving a new SPS The buffer pointers would be otherwise overwritten, causing a leak on e.g. PERSIST_RPARAM_A_RExt_Sony_1. Signed-off-by: Michael Niedermayer <[email protected]>
9a2f5d825a257cc72d569a91746219c7974da6e4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9a2f5d825a257cc72d569a91746219c7974da6e4
2015-02-05 21:50:35+01:00
qdm2: avoid integer overflow CC: [email protected] Bug-Id: CID 700555
1f80742f49a9a4e846c9f099387881abc87150b2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1f80742f49a9a4e846c9f099387881abc87150b2
2014-11-21 12:37:50+00:00
avcodec/hevc: Check for av_malloc failure Signed-off-by: Michael Niedermayer <[email protected]>
2b215b7f5af0ef9be79c697d8990e6958a134f98
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2b215b7f5af0ef9be79c697d8990e6958a134f98
2015-01-30 00:44:51+01:00
nuv: validate image size Avoid a division by zero. CC: [email protected] Bug-Id: CID 717750
e71149a7a5b10ed7baa5a06f47d0313c7bd8df52
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e71149a7a5b10ed7baa5a06f47d0313c7bd8df52
2015-01-27 15:26:37+00:00
ffmpeg_opt: Check for av_realloc_array() failure Signed-off-by: Michael Niedermayer <[email protected]>
7efabffc2899b76688a40b4bd7c63370eb2d8ca8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7efabffc2899b76688a40b4bd7c63370eb2d8ca8
2015-01-07 18:22:37+01:00
avcodec/libxvid: check for av_malloc*() failures Signed-off-by: Michael Niedermayer <[email protected]>
5c95de150f3b18f2e76fed670d6ea579feab1206
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5c95de150f3b18f2e76fed670d6ea579feab1206
2015-01-03 23:51:18+01:00