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/jpeg2000dwt: Fix integer overflow in dwt_decode97_int()
Fixes: runtime error: signed integer overflow: -163654656 * 256 cannot be represented in type 'int'
Fixes: 2367/clusterfuzz-testcase-minimized-4648678897745920
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
ea5366670e26b2c6c396e6a5f49827a2b71e6dd6
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ea5366670e26b2c6c396e6a5f49827a2b71e6dd6
|
2017-06-26 16:06:25+02:00
|
avcodec/mpeg4videodec: Fix GMC with videos of dimension 1
Fixes: runtime error: shift exponent -1 is negative
Fixes: 2338/clusterfuzz-testcase-minimized-5153426541379584
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
4976a3411f71518d17a57e373b62517f066648fd
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/4976a3411f71518d17a57e373b62517f066648fd
|
2017-06-24 14:48:13+02:00
|
avcodec/takdec: Fix integer overflow
Fixes: runtime error: signed integer overflow: 512 + 2147483146 cannot be represented in type 'int'
Fixes: 2314/clusterfuzz-testcase-minimized-4519333877252096
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
0c2ef4f6b4d52a7b7184c747ffea3576926ea1b1
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0c2ef4f6b4d52a7b7184c747ffea3576926ea1b1
|
2017-06-23 03:03:04+02:00
|
avcodec/tiff: Update pointer only when the result is used
Fixes: runtime error: signed integer overflow: 538976288 * 32 cannot be represented in type 'int'
Fixes: 2310/clusterfuzz-testcase-minimized-4534784887881728
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
27f80ab0160d2e64007e1c9799ffd4504cc13eb5
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/27f80ab0160d2e64007e1c9799ffd4504cc13eb5
|
2017-06-23 03:03:04+02:00
|
avcodec/tiff: Fix leak of geotags[].val
Fixes: 2176/clusterfuzz-testcase-minimized-5908197216878592
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
22a25ab3896cbb8dceebdba4d439e8b2b398ff0e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/22a25ab3896cbb8dceebdba4d439e8b2b398ff0e
|
2017-06-11 01:06:08+02:00
|
avcodec/dvbsubdec: Check pixel buffer size constraint from ETSI EN 300 743 V1.3.1
Fixes: OOM
Fixes: 2143/clusterfuzz-testcase-minimized-5482288060039168
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
e1b0044c234775bf99ab1a5c794240a9a692ad8d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/e1b0044c234775bf99ab1a5c794240a9a692ad8d
|
2017-06-10 00:48:07+02:00
|
tls: Hide backend implementation details from users
TLS is currently implemented over either OpenSSL or GnuTLS, with more
backends likely to appear in the future. Currently, those backend libraries
are part of the protocol names used during e.g. the configure stage of a
build. Hide those details behind a generically-named declaration for the
TLS protocol to avoid leaking those details into the configuration stage.
|
61cec5adaacb358783c18aa07362f15824c1b274
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/61cec5adaacb358783c18aa07362f15824c1b274
|
2017-06-02 10:41:52+02:00
|
avcodec/mjpegdec: Check that reference frame matches the current frame
Fixes: out of array read
Fixes: 2097/clusterfuzz-testcase-minimized-5036861833609216
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
4705edbbb96e193f51c72248f508ae5693702a48
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/4705edbbb96e193f51c72248f508ae5693702a48
|
2017-06-05 22:43:23+02:00
|
avcodec/webp: Fixes null pointer dereference
Fixes: 1470/clusterfuzz-testcase-minimized-5404421666111488
Fixes: 1472/clusterfuzz-testcase-minimized-5677426430443520
Fixes: 1875/clusterfuzz-testcase-minimized-5536474562822144
Approved-by: BBB
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
67020711b7d45afa073ef671f755765035a64373
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/67020711b7d45afa073ef671f755765035a64373
|
2017-05-28 21:20:09+02:00
|
avcodec/jpeg2000dec: Use ff_set_dimensions()
Fixes: OOM
Fixes: 1890/clusterfuzz-testcase-minimized-6329019509243904
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
f3da6fbff864e05e8871dd04222143abdee9e77b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/f3da6fbff864e05e8871dd04222143abdee9e77b
|
2017-05-29 13:46:09+02:00
|
avcodec/fmvc: Fix use of uninitialized memory when the first frame is not a keyframe
Fixes: fmvc-poc.avi
Signed-off-by: Michael Niedermayer <[email protected]>
|
3766aa7343c43521c8ad67aaec26e3c91f6d91c7
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/3766aa7343c43521c8ad67aaec26e3c91f6d91c7
|
2017-05-23 11:52:29+02:00
|
avcodec/acelp_pitch_delay: Fix runtime error: value 4.83233e+39 is outside the range of representable values of type 'float'
Fixes: 1902/clusterfuzz-testcase-minimized-4762451407011840
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
87bddba43b725d43767f2a387cdea0936ac1b549
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/87bddba43b725d43767f2a387cdea0936ac1b549
|
2017-05-30 04:45:27+02:00
|
avcodec/hqxdsp: Fix runtime error: signed integer overflow: -196264 * 11585 cannot be represented in type 'int'
Fixes: 1568/clusterfuzz-testcase-minimized-5944868608147456
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
b923213276777f33d6366b1cb9d1845a8658f365
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/b923213276777f33d6366b1cb9d1845a8658f365
|
2017-05-14 15:30:08+02:00
|
avcodec/svq3: Fix runtime error: signed integer overflow: 169 * 12717677 cannot be represented in type 'int'
Fixes: 1556/clusterfuzz-testcase-minimized-5027865978470400
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
86b1b0d33dd7459f0d9c352c51ee2e374fd6f7fe
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/86b1b0d33dd7459f0d9c352c51ee2e374fd6f7fe
|
2017-05-13 23:17:18+02:00
|
avcodec/wavpack: Fix runtime error: signed integer overflow: 2147483642 + 512 cannot be represented in type 'int'
Fixed: 1453/clusterfuzz-testcase-minimized-5024976874766336
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
48f7757749564dac8ad68d11fca13d0739aa2304
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/48f7757749564dac8ad68d11fca13d0739aa2304
|
2017-05-13 18:06:11+02:00
|
avcodec/hq_hqadsp: Fix runtime error: signed integer overflow: 80359 * 30274 cannot be represented in type 'int'
Fixes: 1507/clusterfuzz-testcase-minimized-4955228300378112
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
e66488252335d3e7870c72d1ac7040e8c1853f07
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/e66488252335d3e7870c72d1ac7040e8c1853f07
|
2017-05-13 01:15:29+02:00
|
avcodec/smc: Check remaining input
Fixes: Timeout
Fixes: 1818/clusterfuzz-testcase-minimized-5039166473633792
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
356194fcb17375de2472f4cbff6ede48d6a374b2
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/356194fcb17375de2472f4cbff6ede48d6a374b2
|
2017-05-25 20:08:31+02:00
|
avcodec/pixlet: Fix reading invalid numbers of bits
Fixes: asertion failure
Fixes: 1664/clusterfuzz-testcase-minimized-6587801187385344
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
d32ebce8fd79bb859ba4a04c92470a052f2aafa6
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/d32ebce8fd79bb859ba4a04c92470a052f2aafa6
|
2017-05-18 18:08:23+02:00
|
avcodec/mimic: Fix runtime error: index 96 out of bounds for type 'const int8_t [64]'
Fixes: 1468/clusterfuzz-testcase-minimized-5235964056174592
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
d9051f8f3e60768f68867c3e3116e980d855215a
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/d9051f8f3e60768f68867c3e3116e980d855215a
|
2017-05-11 15:51:08+02:00
|
doc/build_system: Document how to build decoder fuzzer
Signed-off-by: Michael Niedermayer <[email protected]>
|
8ef2c791c99e7c103782e889e2bca2f6e13a07be
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/8ef2c791c99e7c103782e889e2bca2f6e13a07be
|
2017-05-08 17:02:02+02:00
|
avutil/softfloat: Fix overflow in av_div_sf()
Signed-off-by: Michael Niedermayer <[email protected]>
|
277e397eb5964999bd76909f52d4bd3350289c22
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/277e397eb5964999bd76909f52d4bd3350289c22
|
2017-05-06 23:23:39+02:00
|
avcodec/indeo2: Check for invalid VLCs
Fixes: timeout
Fixes: 1416/clusterfuzz-testcase-minimized-5536862435278848
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
159fb8ff7e4038edf13e91d3c08bc7b8abc369b9
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/159fb8ff7e4038edf13e91d3c08bc7b8abc369b9
|
2017-05-09 00:42:20+02:00
|
avcodec/aacdec_fixed: Fix multiple shift exponent 33 is too large for 32-bit type 'int'
Fixes: 1471/clusterfuzz-testcase-minimized-6376460543590400
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
3a0ff78168f80f5b2c5c5544325aca4023bc67a4
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/3a0ff78168f80f5b2c5c5544325aca4023bc67a4
|
2017-05-11 15:51:08+02:00
|
vp9_raw_reorder_bsf: Remove a redundant allocation
This was left over from an earlier version which created the new
packet inside the current frame structure. Now it just leaks an
unused packet, so remove the allocation entirely.
|
b43b95f4789b6e60f9684918fd3c0a5f3f18aef6
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/b43b95f4789b6e60f9684918fd3c0a5f3f18aef6
|
2017-04-30 14:09:05+01:00
|
decode: Initialize ret before using it
libavcodec/decode.c:608:9: warning: variable 'ret' is
used uninitialized whenever 'if' condition is false
(cherry picked from libav commit efddf2c09aed7400c73ecf327f86a4d0452b94b5)
|
960b4d47612ec89cfdf0ff8b83bc7424ad4c754a
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/960b4d47612ec89cfdf0ff8b83bc7424ad4c754a
|
2017-04-23 19:29:12-03:00
|
avformat/webmdashenc: Validate the 'streams' adaptation sets parameter
It should not be a value larger than the number of streams we have,
or it will cause invalid reads and/or SIGSEGV.
Signed-off-by: Michael Niedermayer <[email protected]>
|
ec07efa70012845e8642df67a4a773f510a17088
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ec07efa70012845e8642df67a4a773f510a17088
|
2017-04-20 18:07:32+02:00
|
avcodec/ra144: Fix runtime error: left shift of negative value -798
Fixes: 1388/clusterfuzz-testcase-minimized-6680800936329216
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
78bf446852a7e5e8aa52c7ca9889632e167b665f
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/78bf446852a7e5e8aa52c7ca9889632e167b665f
|
2017-05-07 15:31:00+02:00
|
avcodec/tiertexseqv: set the fixed dimenasions, do not depend on the demuxer doing so
Fixes: out of array access
Fixes: 1348/clusterfuzz-testcase-minimized-6195673642827776
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
ce551a3925a1cf9c7824e26a246b99b6773bda4b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ce551a3925a1cf9c7824e26a246b99b6773bda4b
|
2017-05-05 13:36:52+02:00
|
avcodec/atrac3: Check init_get_bits8() for failure
This is more for correctness than actually fixing a missing error path
Fixes CID1399967
Signed-off-by: Michael Niedermayer <[email protected]>
|
e976e68fc5513fea05b45556cbe959e6675dbe7d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/e976e68fc5513fea05b45556cbe959e6675dbe7d
|
2017-03-30 22:13:38+02:00
|
avcodec/dca_xll: Fix runtime error: signed integer overflow: 2147286116 + 6298923 cannot be represented in type 'int'
Fixes: 732/clusterfuzz-testcase-4872990070145024
See: [FFmpeg-devel] [PATCH 2/6] avcodec/dca_xll: Fix runtime error: signed integer overflow: 2147286116 + 6298923 cannot be represented in type 'int'
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
ce010655a6b82d49bd8df179d73bcb5802a273c1
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ce010655a6b82d49bd8df179d73bcb5802a273c1
|
2017-03-12 04:38:14+01:00
|
avcodec/wavpack: Check shift
Fixes: runtime error: shift exponent 255 is too large for 32-bit type 'unsigned int'
Fixes: 894/clusterfuzz-testcase-4841537823309824
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
423375d4f06ae7103e575a31c23e62e3ba440845
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/423375d4f06ae7103e575a31c23e62e3ba440845
|
2017-03-21 20:54:27+01:00
|
avcodec/mjpegdec: Fix runtime error: left shift of negative value -127
Fixes: 733/clusterfuzz-testcase-4682158096515072
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
800d02abe041deacab5585bf41c1bc2ae5f4b922
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/800d02abe041deacab5585bf41c1bc2ae5f4b922
|
2017-03-09 23:28:10+01:00
|
avcodec/dca: Fix multiple runtime error: signed integer overflow
Fixes: 680/clusterfuzz-testcase-5416627266912256
Fixes: 681/clusterfuzz-testcase-5013323462475776
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
949d2176ef0a37c6ecbb65be0f1199536a2d9278
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/949d2176ef0a37c6ecbb65be0f1199536a2d9278
|
2017-02-28 01:13:52+01:00
|
avcodec/rv34: Fix runtime error: signed integer overflow: -2 + -2147483648 cannot be represented in type 'int'
Fixes: 642/clusterfuzz-testcase-558358808074649
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
24f6559bd2417b30c848d27523c88949d537a83c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/24f6559bd2417b30c848d27523c88949d537a83c
|
2017-02-22 02:42:48+01:00
|
avcodec/mpeg4video: Fix runtime error: left shift of negative value
Fixes: 644/clusterfuzz-testcase-4726434209726464
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
6179dc8aa7e5fc5358b9614306f93f1adadf22a4
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/6179dc8aa7e5fc5358b9614306f93f1adadf22a4
|
2017-02-22 02:42:48+01:00
|
avcodec/pngdec: Store metadata directly into AVFrame
Fixes memleak
Fixes: 500/clusterfuzz-testcase-6315221727576064
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
2ac6eedac5e576bb98c9ba6573cfcd4782b175b0
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/2ac6eedac5e576bb98c9ba6573cfcd4782b175b0
|
2017-02-19 15:39:36+01:00
|
xvag: prevent overflow during block alignment calculation
Reviewed-by: Michael Niedermayer <[email protected]>
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
cba4f0e97ecbbde7c71ec7a7ae3eb1469b34545b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/cba4f0e97ecbbde7c71ec7a7ae3eb1469b34545b
|
2017-01-30 01:40:48+01:00
|
avcodec/wavpack: Check value before shift in wp_exp2()
Fixes undefined shift, all callers should be changed to check the value
they use with wp_exp2() or its return value.
Fixes: 692/clusterfuzz-testcase-5757381516460032
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
f8060ab927f89db8844b1a0e0709159662e6167b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/f8060ab927f89db8844b1a0e0709159662e6167b
|
2017-03-02 03:16:15+01:00
|
genh: prevent overflow during block alignment calculation
Reviewed-by: Michael Niedermayer <[email protected]>
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
5b0ae88ca6b3eb85dbda1762f16f1b5e7c3aa014
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/5b0ae88ca6b3eb85dbda1762f16f1b5e7c3aa014
|
2017-01-30 01:40:48+01:00
|
lavf/matroskaenc.c: Free dyn bufs in mkv_free. Fixes memory leaks when muxing fails.
Signed-off-by: Sasi Inguva <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
e4a1d87ef88d57cca21ec425120c6a370fdb0210
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/e4a1d87ef88d57cca21ec425120c6a370fdb0210
|
2017-01-27 22:16:37+01:00
|
ffserver: local OOB write with custom program name
When the command line for children is created, it is assumed that
my_program_name always ends with "ffserver", which doesn't have to
be true if ffserver is called through a symbolic link.
In such a case, it could be that not enough space for "ffmpeg" is
available at the end, leading to a buffer overflow.
One example would be:
$ ln -s /usr/bin/ffserver ~/f; ~/f
As this is only a local buffer overflow, i.e. is based on a weird
program call, this has NO security impact.
Signed-off-by: Michael Niedermayer <[email protected]>
|
95d9a85ca3e662388d5fa7ef1937d1c3fbe2dcd5
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/95d9a85ca3e662388d5fa7ef1937d1c3fbe2dcd5
|
2017-01-08 03:50:56+01:00
|
avfilter/asrc_flite: Fix textbuf leak
Fixes CID1244189
Signed-off-by: Michael Niedermayer <[email protected]>
|
bc6b53ae99cded18296e6beb8dc840722d08be76
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/bc6b53ae99cded18296e6beb8dc840722d08be76
|
2017-01-06 16:26:05+01:00
|
wmavoice: validate block alignment
This prevents a division by zero crash in wmavoice_decode_packet.
The problem was introduced by commit
3deb4b54a24f8cddce463d9f5751b01efeb976af.
Reviewed-by: Ronald S. Bultje <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
e8651f51aa46268613b328c60079e16d992e013f
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/e8651f51aa46268613b328c60079e16d992e013f
|
2017-01-03 00:52:55+01:00
|
avformat/test/fifo_muxer: add check for FailingMuxerPacketData alloc
CID: 1396257
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Steven Liu <[email protected]>
|
d1f3e475f9807b445ba37ff2fd23f71c4645de79
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/d1f3e475f9807b445ba37ff2fd23f71c4645de79
|
2017-01-06 06:35:32+08:00
|
mpegvideo_parser: avoid signed overflow in bitrate calculation
CC: [email protected]
Bug-Id: 981
Found-By: Agostino Sarubbo
|
58405de0951a843765625159402870c1eea3c3b1
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/58405de0951a843765625159402870c1eea3c3b1
|
2016-12-19 08:15:07+01:00
|
mov: Avoid memcmp of uninitialised data
The string codec name need not be as long as the value we are
comparing it to, so memcmp may make decisions derived from
uninitialised data that valgrind then complains about (though the
overall result of the function will always be the same). Use
strncmp instead, which will stop at the first zero byte and
therefore not encounter this issue.
|
708e84cda1bdbffb92847f3d6ccf6fbeb26d9948
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/708e84cda1bdbffb92847f3d6ccf6fbeb26d9948
|
2017-01-30 23:03:52+00:00
|
mov: prevent overflow during bit rate calculation
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
076c3a9fa23ca2b0dd167a087ab1e4fb4357a31b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/076c3a9fa23ca2b0dd167a087ab1e4fb4357a31b
|
2016-12-15 01:25:50+01:00
|
4xm: prevent overflow during bit rate calculation
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
e558a6348ac10e74c54fb50ffd783ff9b5aec050
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/e558a6348ac10e74c54fb50ffd783ff9b5aec050
|
2016-12-15 01:25:34+01:00
|
tests/api/api-seek-test: Silence compiler warnings about uninitialized variables
Signed-off-by: Michael Niedermayer <[email protected]>
|
5952b8da0b7f65dfa23991e71737e0abdaeb339c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/5952b8da0b7f65dfa23991e71737e0abdaeb339c
|
2016-12-06 15:41:32+01:00
|
avcodec/golomb: Consume invalid data in get_ur_golomb_jpegls()
Fixes slow loops on fuzzed data
Fixes: 245/fuzz-3-ffmpeg_AUDIO_AV_CODEC_ID_FLAC_fuzzer
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
3ab1311aba74a28cebfc22985cd9250fda93e6cf
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/3ab1311aba74a28cebfc22985cd9250fda93e6cf
|
2016-12-08 02:47:47+01:00
|
mpeg12dec: move setting first_field to mpeg_field_start()
For field picture, the first_field is set based on its previous value.
Before this commit, first_field is set when reading the picture
coding extension. However, in corrupted files there may be multiple
picture coding extension headers, so the final value of first_field that
is actually used during decoding can be wrong. That can lead to various
undefined behaviour, like predicting from a non-existing field.
Fix this problem, by setting first_field in mpeg_field_start(), which
should be called exactly once per field.
CC: [email protected]
Bug-ID: 999
|
c2fa6bb0e8703a7a6aa10e11f9ab36094416d83f
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/c2fa6bb0e8703a7a6aa10e11f9ab36094416d83f
|
2016-12-19 08:15:49+01:00
|
avcodec/movtextdec: Fix potential integer overflow
Signed-off-by: Michael Niedermayer <[email protected]>
|
6ea27157682200e5f78cadcabdb009eccd9dd9b1
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/6ea27157682200e5f78cadcabdb009eccd9dd9b1
|
2016-11-15 15:08:20+01:00
|
filmstripdec: correctly check image dimensions
This prevents a division by zero in read_packet.
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
25012c56448a48487cdc9699465e640871dbcd60
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/25012c56448a48487cdc9699465e640871dbcd60
|
2016-11-13 19:18:14+01:00
|
avcodec/rawdec: check for side data before checking its size
Fixes valgrind warnings about usage of uninitialized values.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
51e329918dc1826de7451541cb15bef3b9bfe138
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/51e329918dc1826de7451541cb15bef3b9bfe138
|
2016-11-04 23:38:56-03:00
|
interplayacm: validate number of channels
The number of channels is used as divisor in decode_frame, so it must
not be zero to avoid SIGFPE crashes.
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
5540d6c1343e6d1e06d6601b7d35884761711e3e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/5540d6c1343e6d1e06d6601b7d35884761711e3e
|
2016-10-30 22:38:23+01:00
|
avfilter/vf_minterpolate: do not right shift negative numbers
It was source of crashes. Use division instead.
Original patch by author. Log message by comitter.
|
11a631d4a76859e09cd413856e32df6363d25eea
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/11a631d4a76859e09cd413856e32df6363d25eea
|
2016-08-29 17:32:47+02:00
|
avcodec/ituh263dec: Avoid spending a long time in slice sync
Fixes: 177/fuzz-3-ffmpeg_VIDEO_AV_CODEC_ID_FLV1_fuzzer
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
2baf36caed98cfdc7f6a2086fbf26f1a172f16cf
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/2baf36caed98cfdc7f6a2086fbf26f1a172f16cf
|
2016-11-15 18:27:31+01:00
|
cuvid: Add hwaccels and decoders for remaining supported formats
cuvid/nvdecode also supports mpeg1, mpeg2, h.263/mpeg4-asp and mjpeg.
It should, in theory, also support wmv3 via the vc1 support, given
that vdpau supports this. However, it failed to play wmv3 samples
which vdpau played correctly, so I'm not sure what to make of it.
Signed-off-by: Philip Langdale <[email protected]>
Signed-off-by: Timo Rothenpieler <[email protected]>
|
1891dfe0130991ee138d01f2877678de717b9e23
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/1891dfe0130991ee138d01f2877678de717b9e23
|
2016-09-06 21:35:42+02:00
|
avformat/mov: Check extradata before access
Fixes NULL ptr dereference
Fixes Ticket5778
Signed-off-by: Michael Niedermayer <[email protected]>
|
ae0192ef5fe8ca67b6532a57f829f744db3facb9
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ae0192ef5fe8ca67b6532a57f829f744db3facb9
|
2016-08-16 19:47:23+02:00
|
checkasm: h264dsp: Initialize the padding area
This fixes valgrind warnings about conditional jumps based on
uninitialized data (even though the uninitialized data only ever
was compared with a direct copy of the same uninitialized data).
Signed-off-by: Martin Storsjö <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
2e95054ebb73f95aa6620b76245313a6ccb62245
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/2e95054ebb73f95aa6620b76245313a6ccb62245
|
2016-08-11 19:55:16+02:00
|
h264_direct: use the reference mask from the actual reference
Not from the underlying frame. Fixes races with frame threading in
field-coded files, where decoding would wait for the wrong field (e.g.
random failures in mixed-nal-coding).
Bug-Id: 954
|
04763c6f87690b31cfcd0d324cf36a451531dcd0
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/04763c6f87690b31cfcd0d324cf36a451531dcd0
|
2016-08-11 10:52:54+02:00
|
avcodec/h264: remove list_count and ref_count clearing
The code conflicts with moving the h264_init_ps() call point
Without this, ff_h264_parse_ref_count() fills ref and list count and
h264_init_ps() subsequently wipes them out on a "success" path.
Subsequently things crash as the wiped fields are used.
Signed-off-by: Michael Niedermayer <[email protected]>
|
fd1588919d2c70288a1a3fea1aefdd3ea2c424bb
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/fd1588919d2c70288a1a3fea1aefdd3ea2c424bb
|
2016-07-20 00:02:12+02:00
|
vaapi_encode: Respect driver quirks around buffer destruction
No longer leaks memory when used with a driver with the "render does
not destroy param buffers" quirk (i.e. Intel i965).
|
221ffca6314ed3ba9d38464ea50cd85251c04e74
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/221ffca6314ed3ba9d38464ea50cd85251c04e74
|
2016-07-02 14:09:58+01:00
|
avcodec/magicyuv: set correct size of last slice for each plane
Fixes invalid read.
Signed-off-by: Paul B Mahol <[email protected]>
|
e8a236add82e668c3e665a4ab38c91d875047e43
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/e8a236add82e668c3e665a4ab38c91d875047e43
|
2016-06-02 22:43:51+02:00
|
ffmpeg: Check that r_frame_rate is set before attempting to use it
Avoids unexpected occurance and dependency on NaN behavior and divisions by 0
Testcase: fate-lavf-fate-avi_cram
Signed-off-by: Michael Niedermayer <[email protected]>
|
6085d6b2aeef28671614f625601a23cfc922d282
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/6085d6b2aeef28671614f625601a23cfc922d282
|
2016-05-16 14:23:49+02:00
|
AAC encoder: fix undefined behavior
Fix uninitialized access of minsf in short windows
Fix potential invocation of coef2minsf(0)
|
be746ae4706302a100cc9e53f93fa6167215a674
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/be746ae4706302a100cc9e53f93fa6167215a674
|
2016-03-30 22:35:28-03:00
|
vc2enc: increase the starting value of the size scaler
In some cases this caused the slice size rounding to generate invalid
slice sizes and overwrite some slices.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
|
f4b30beac0c1a70d6da1e3ffe1e74e9e55397d8e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/f4b30beac0c1a70d6da1e3ffe1e74e9e55397d8e
|
2016-03-18 11:55:48+00:00
|
lavc/mediacodec: fix codec_name leak
|
31fe3c4d23aab8b43614b1ea825603080775677e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/31fe3c4d23aab8b43614b1ea825603080775677e
|
2016-03-15 10:30:51+01:00
|
cfhd: reallocate internal buffers on format change.
Fixes some, but not all, of the threading fuzz crashes
|
0096453f70c42db403ced2e8c89a1d92c5343109
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0096453f70c42db403ced2e8c89a1d92c5343109
|
2016-02-27 12:18:06+00:00
|
libavcodec/wmalosslessdec: Check the remaining bits
Fixes assertion failure
Fixes: 24ebfda03228b5cc1ef792608cfba458/signal_sigabrt_7ffff6ae7c37_6473_3fa8a111dbc752b1a7c411c5ab79aaa4.wma
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
67318187fbba382d887f9581dde48a50842f1bea
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/67318187fbba382d887f9581dde48a50842f1bea
|
2016-08-21 21:06:17+02:00
|
avcodec/rawdec: Check height and packet size
Avoids potential division by 0
Signed-off-by: Michael Niedermayer <[email protected]>
|
46f67f4a34cab5f5686baf1605dd77d3c70740b5
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/46f67f4a34cab5f5686baf1605dd77d3c70740b5
|
2016-01-25 11:07:42+01:00
|
videodsp: fix 1-byte overread in top/bottom READ_NUM_BYTES iterations.
This can overread (either before start or beyond end) of the buffer in
Nx1 (i.e. height=1) images.
Fixes mozilla bug 1240080.
|
0f88b3f82fafd536979993aeaafcb11a22266dbd
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0f88b3f82fafd536979993aeaafcb11a22266dbd
|
2016-01-18 11:12:47-05:00
|
avcodec/g2meet: Check for ff_els_decode_bit() failure in epic_decode_run_length()
Fixes invalid shift
Fixes: g2m_left_shift_2.wmv
Found-by: Piotr Bandurski <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
030c7f0309ec0e3cadb990408b4bb9b7fd739425
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/030c7f0309ec0e3cadb990408b4bb9b7fd739425
|
2016-01-10 17:23:51+01:00
|
avcodec: properly check pkt_timebase for validity
Unset/invalid timebases have a zero numerator.
This makes the checks consistent with other timebase checks and fixes an
integer division by 0.
|
50401f5fb7d778583b03a13bc4440f71063d319d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/50401f5fb7d778583b03a13bc4440f71063d319d
|
2015-12-28 10:24:15+01:00
|
exr: fix out of bounds read in get_code
This macro unconditionally used out[-1], which causes an out of bounds
read, if out is the very beginning of the buffer.
Signed-off-by: Andreas Cadhalpun <[email protected]>
Signed-off-by: Luca Barbato <[email protected]>
|
5ea59b1f424f0efc7805d837e6fdb80561fb0f3a
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/5ea59b1f424f0efc7805d837e6fdb80561fb0f3a
|
2015-12-16 22:22:06+01:00
|
fate: increase FUZZ by 1 for aac-tns-encode
This should fix this test failing on kfreebsd, a regression since
6e5dbe7, which decreased the CMP_TARGET by 1.
Reviewed-by: Rostislav Pehlivanov <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
28e9b7e8aed9df9e4e20f61f803fe8e8a850eb9f
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/28e9b7e8aed9df9e4e20f61f803fe8e8a850eb9f
|
2015-12-13 23:28:53+01:00
|
avcodec/hevc_cabac: Fix multiple integer overflows
Fixes: 04ec80eefa77aecd7a49a442cc02baea/asan_heap-oob_19544fa_3303_1905796cd9d8e15f86d664332caabc00.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
d5028f61e44b7607b6a547f218f7d85217490a5b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/d5028f61e44b7607b6a547f218f7d85217490a5b
|
2015-11-27 23:37:42+01:00
|
avfilter: do not leak frame if ff_get_audio_buffer() fails
Signed-off-by: Paul B Mahol <[email protected]>
|
142894d7202b5559d87f58df30baf48107a816f6
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/142894d7202b5559d87f58df30baf48107a816f6
|
2015-11-25 21:59:33+01:00
|
asfdec: handle the case when the stream index has an invalid value better
The demuxer returned INVALIDDATA and failed to demux the remaining data
when an invalid stream index was read, now it just skips the asf packet
for the stream with an invalid stream index and continues demuxing.
Reported-By: Hendrik Leppkes
Signed-off-by: Luca Barbato <[email protected]>
|
8375dc1dd101d51baa430f34c0bcadfa37873896
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/8375dc1dd101d51baa430f34c0bcadfa37873896
|
2015-11-23 11:42:55+01:00
|
apng: use correct size for output buffer
The buffer needs s->bpp bytes, at maximum currently 10.
Assert that s->bpp is not larger.
This fixes a stack buffer overflow.
Reviewed-by: wm4 <[email protected]>
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
3e8e1a660ea182111057d56ec1cfad2c62250f4c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/3e8e1a660ea182111057d56ec1cfad2c62250f4c
|
2015-11-07 13:15:14+01:00
|
avcodec/pgssubdec: Check dimensions for 0
Fixes division by 0
Fixes: b293a6479bb4b5286cff24d356bfd955/asan_generic_225c3c9_7819_cc526b657450c6cdef1371b526499626.mkv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
ebf5264cd6bbda6c0c379dfeaaba3b9afc3279a8
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ebf5264cd6bbda6c0c379dfeaaba3b9afc3279a8
|
2015-11-14 18:26:11+01:00
|
avformat/mov: remove redundant assignment
This is possibly undefined behavior based on sequence point rules, but I
have not studied the spec at that level of detail.
Fixes: CID 1338321.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
|
8adff79b6d30d1ae2cb9cf906e1d7fcd759cd638
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/8adff79b6d30d1ae2cb9cf906e1d7fcd759cd638
|
2015-11-16 07:42:48-05:00
|
avcodec/ffv1dec: Free tables on init failure
Fixes memleak
Fixes: 07ec1fc3c1cbf2d3edcd7d9b52ca156c/asan_heap-oob_13624c5_491_ecd4720a03e697ba750b235690656c8f.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
c665532820d9a9ad5bf0bc04941e505b518c3b38
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/c665532820d9a9ad5bf0bc04941e505b518c3b38
|
2015-11-05 01:31:52+01:00
|
avutil/mathematics: speed up av_gcd by using Stein's binary GCD algorithm
This uses Stein's binary GCD algorithm:
https://en.wikipedia.org/wiki/Binary_GCD_algorithm
to get a roughly 4x speedup over Euclidean GCD on standard architectures
with a compiler intrinsic for ctzll, and a roughly 2x speedup otherwise.
At the moment, the compiler intrinsic is used on GCC and Clang due to
its easy availability.
Quick note regarding overflow: yes, subtractions on int64_t can, but the
llabs takes care of that. The llabs is also guaranteed to be safe, with
no annoying INT64_MIN business since INT64_MIN being a power of 2, is
shifted down before being sent to llabs.
The binary GCD needs ff_ctzll, an extension of ff_ctz for long long (int64_t). On
GCC, this is provided by a built-in. On Microsoft, there is a
BitScanForward64 analog of BitScanForward that should work; but I can't confirm.
Apparently it is not available on 32 bit builds; so this may or may not
work correctly. On Intel, per the documentation there is only an
intrinsic for _bit_scan_forward and people have posted on forums
regarding _bit_scan_forward64, but often their documentation is
woeful. Again, I don't have it, so I can't test.
As such, to be safe, for now only the GCC/Clang intrinsic is added, the rest
use a compiled version based on the De-Bruijn method of Leiserson et al:
http://supertech.csail.mit.edu/papers/debruijn.pdf.
Tested with FATE, sample benchmark (x86-64, GCC 5.2.0, Haswell)
with a START_TIMER and STOP_TIMER in libavutil/rationsl.c, followed by a
make fate.
aac-am00_88.err:
builtin:
714 decicycles in av_gcd, 4095 runs, 1 skips
de-bruijn:
1440 decicycles in av_gcd, 4096 runs, 0 skips
previous:
2889 decicycles in av_gcd, 4096 runs, 0 skips
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
971d12b7f9d7be3ca8eb98e6c04ed521f83cbd3c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/971d12b7f9d7be3ca8eb98e6c04ed521f83cbd3c
|
2015-10-11 04:08:41+02:00
|
checkasm: v210: Fix array overwrite
|
781a25e9c419dd66063597cc5d70e8919de60561
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/781a25e9c419dd66063597cc5d70e8919de60561
|
2015-09-17 10:33:06+02:00
|
avcodec/libvorbisdec: Fix memory leak
Signed-off-by: Michael Niedermayer <[email protected]>
|
a450ec267225baf431eefadcfacf15879256f363
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/a450ec267225baf431eefadcfacf15879256f363
|
2015-09-09 01:56:14+02:00
|
avcodec/g2meet: Fix potential overflow in tile dimensions check
Fixes CID1322351
Signed-off-by: Michael Niedermayer <[email protected]>
|
71ec8e1ed6cf4947e204e3e4b5929a44c054f5fb
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/71ec8e1ed6cf4947e204e3e4b5929a44c054f5fb
|
2015-09-04 12:14:13+02:00
|
avcodec/smacker: Check init_get_bits8() for failure
Fixes: CID1322314
Signed-off-by: Michael Niedermayer <[email protected]>
|
21d8c6612fcec630785af5c0ae087d0393bb2a8e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/21d8c6612fcec630785af5c0ae087d0393bb2a8e
|
2015-09-04 02:15:50+02:00
|
AAC encoder: Extensive improvements
This finalizes merging of the work in the patches in ticket #2686.
Improvements to twoloop and RC logic are extensive.
The non-exhaustive list of twoloop improvments includes:
- Tweaks to distortion limits on the RD optimization phase of twoloop
- Deeper search in twoloop
- PNS information marking to let twoloop decide when to use it
(turned out having the decision made separately wasn't working)
- Tonal band detection and priorization
- Better band energy conservation rules
- Strict hole avoidance
For rate control:
- Use psymodel's bit allocation to allow proper use of the bit
reservoir. Don't work against the bit reservoir by moving lambda
in the opposite direction when psymodel decides to allocate more/less
bits to a frame.
- Retry the encode if the effective rate lies outside a reasonable
margin of psymodel's allocation or the selected ABR.
- Log average lambda at the end. Useful info for everyone, but especially
for tuning of the various encoder constants that relate to lambda
feedback.
Psy:
- Do not apply lowpass with a FIR filter, instead just let the coder
zero bands above the cutoff. The FIR filter induces group delay,
and while zeroing bands causes ripple, it's lost in the quantization
noise.
- Experimental VBR bit allocation code
- Tweak automatic lowpass filter threshold to maximize audio bandwidth
at all bitrates while still providing acceptable, stable quality.
I/S:
- Phase decision fixes. Unrelated to #2686, but the bugs only surfaced
when the merge was finalized. Measure I/S band energy accounting for
phase, and prevent I/S and M/S from being applied both.
PNS:
- Avoid marking short bands with PNS when they're part of a window
group in which there's a large variation of energy from one window
to the next. PNS can't preserve those and the effect is extremely
noticeable.
M/S:
- Implement BMLD protection similar to the specified in
ISO-IEC/13818:7-2003, Appendix C Section 6.1. Since M/S decision
doesn't conform to section 6.1, a different method had to be
implemented, but should provide equivalent protection.
- Move the decision logic closer to the method specified in
ISO-IEC/13818:7-2003, Appendix C Section 6.1. Specifically,
make sure M/S needs less bits than dual stereo.
- Don't apply M/S in bands that are using I/S
Now, this of course needed adjustments in the compare targets and
fuzz factors of the AAC encoder's fate tests, but if wondering why
the targets go up (more distortion), consider the previous coder
was using too many bits on LF content (far more than required by
psy), and thus those signals will now be more distorted, not less.
The extra distortion isn't audible though, I carried extensive
ABX testing to make sure.
A very similar patch was also extensively tested by Kamendo2 in
the context of #2686.
|
01ecb7172b684f1c4b3e748f95c5a9a494ca36ec
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/01ecb7172b684f1c4b3e748f95c5a9a494ca36ec
|
2015-10-11 17:29:50-03:00
|
avformat/mov: Fix integer overflow in FFABS
Fixes: unknown_unknown_19e_414_cov_764838672_bellhamlam.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
053e80f6eaf8d87521fe58ea96886b6ee0bbe59d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/053e80f6eaf8d87521fe58ea96886b6ee0bbe59d
|
2015-09-03 09:20:57+02:00
|
avcodec/dvbsubdec: Compute default CLUT based on bitmap analysis
Fixes displaying subtitles before any CLUT has been received
Fixes Ticket153
This will of course not display these initial subtitles in the correct
color (as that is not known at that point) but they should look clean
and not corrupted
Signed-off-by: Michael Niedermayer <[email protected]>
|
4b90dcb8493552c17a811c8b1e6538dae4061f9d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/4b90dcb8493552c17a811c8b1e6538dae4061f9d
|
2015-07-26 14:39:55+02:00
|
avfilter/af_aresample: Check ff_all_* for allocation failures
Fixes: signal_sigabrt_7ffff70eccc9_498_divx502.avi with memlimit 1572864
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
2ea8a480832acad3095783bcb11d5f290bec56cf
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/2ea8a480832acad3095783bcb11d5f290bec56cf
|
2015-07-17 21:13:56+02:00
|
avcodec/hevc: Track long and short term RPS size for VDPAU
Today, we track the short term RPS size for DXVA, but only if the
SliceHeader RPS is being used. Otherwise it's left uninitialized.
NVIDIA's VDPAU implementation requires that the size be accurately
tracked even if an SPS RPS is being used. In this case, it's really
counting the size of the RPS idx information, but you end up with
mangled output if the value is not accurate.
VDPAU also needs the size of the long term RPS.
Signed-off-by: Philip Langdale <[email protected]>
|
1b19d0c6328181d7f680a534b2bb17eadde01dd0
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/1b19d0c6328181d7f680a534b2bb17eadde01dd0
|
2015-06-13 21:09:24-07:00
|
avcodec/jpeg2000dec: add some sanity checking on newpasses
Signed-off-by: Michael Niedermayer <[email protected]>
|
b395fd3de7dab14841b3c7898aaea04d29c11bc7
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/b395fd3de7dab14841b3c7898aaea04d29c11bc7
|
2015-06-12 02:02:38+02:00
|
avformat/nutdec: Check X in 2nd branch of index reading
Prevents read of uninitialized variable
Based on patch by: Andreas Cadhalpun <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
ebb0ca3d70465ab6d369a66b2ef43bb059705db8
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ebb0ca3d70465ab6d369a66b2ef43bb059705db8
|
2015-05-23 00:23:05+02:00
|
avformat/concatdec: Enable auto_convert by default
Users have no means to find out from a failure how to make it work
or is it preferred to check and print a warning for h264 concat without auto_convert ?
Reviewed-by: Nicolas George <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
3331213e2ac5a0fe5c574e9cd3da44df5e0d1d18
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/3331213e2ac5a0fe5c574e9cd3da44df5e0d1d18
|
2015-05-29 12:19:47+02:00
|
avcodec/mpegvideo: Fix null pointer dereference with grayscale decoding with mpeg2_field_encoding.ts
Signed-off-by: Michael Niedermayer <[email protected]>
|
cf31e2df08e39082241c8e2e10eaacb115c69a6c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/cf31e2df08e39082241c8e2e10eaacb115c69a6c
|
2015-05-09 17:10:26+02:00
|
diracdec: avoid overflow of bytes*8 in decode_lowdelay
If bytes is large enough, bytes*8 can overflow and become negative.
In that case 'bufsize -= bytes*8' causes bufsize to increase instead of
decrease.
This leads to a segmentation fault.
Signed-off-by: Andreas Cadhalpun <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
9e66b39aa87eb653a6e5d15f70b792ccbf719de7
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/9e66b39aa87eb653a6e5d15f70b792ccbf719de7
|
2015-05-06 00:28:52+02:00
|
avcodec/wavpack: Check L/R values before use to avoid harmless integer overflow and undefined behavior in fate
Signed-off-by: Michael Niedermayer <[email protected]>
|
042260cde4ecf716438c5fc92d15ad5f037ee2e1
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/042260cde4ecf716438c5fc92d15ad5f037ee2e1
|
2015-05-03 16:37:10+02:00
|
avplay: Do not print a possibly uninitialized value
Initialize `diff` to 0.
Signed-off-by: Luca Barbato <[email protected]>
|
06f4b1e37a08f3fd269ecbfeb0181129e5bfc86e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/06f4b1e37a08f3fd269ecbfeb0181129e5bfc86e
|
2015-04-30 14:15:12+02:00
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.