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
⌀ |
---|---|---|---|---|---|---|---|
smacker: fix integer overflow with pts_inc
Bug-Id: 1073
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Sean McGovern <[email protected]>
|
ec683ed527cef9aad208d1daeb10d0e7fb63e75e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ec683ed527cef9aad208d1daeb10d0e7fb63e75e
|
2017-09-24 12:58:42+02:00
|
avfilter/af_merge: check ff_insert_inpad() for failure
Signed-off-by: Paul B Mahol <[email protected]>
|
f39136b0a76e61d149bf50d287b2110273a8afa1
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/f39136b0a76e61d149bf50d287b2110273a8afa1
|
2017-08-25 09:50:57+02:00
|
lavfi/vf_libvmaf: convert to framesync2.
After this commit, the code compiles, but on my setup it
segfaults before and after. It also prints the very worrying
warning:
src/libavfilter/vf_libvmaf.c:161:66: warning: passing argument 4 of ‘compute_vmaf’ from incompatible pointer type [-Wincompatible-pointer-types]
/tmp/i/include/libvmaf.h:26:8: note: expected ‘int (*)(float *, float *, float *, int, void *)’ but argument is of type ‘int (*)(float *, float *, float *, int, double *, void *)’
==12116== Thread 6:
==12116== Conditional jump or move depends on uninitialised value(s)
==12116== at 0x526D432: cons_ (ocval.h:1188)
==12116== by 0x526D432: GenericIT (ocval.h:1119)
==12116== by 0x526D432: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:92)
==12116== by 0x5211F5D: loads (pickleloader.h:566)
==12116== by 0x5211F5D: LoadValFromArray (chooseser.h:290)
==12116== by 0x5211F5D: LoadValFromFile (chooseser.h:405)
==12116== by 0x5211F5D: _read_and_assert_model(char const*, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&) (vmaf.cpp:77)
==12116== by 0x5212B0F: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:149)
==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
==12116== by 0x7967493: start_thread (pthread_create.c:333)
==12116== by 0x7F69A8E: clone (clone.S:97)
==12116==
==12116== Conditional jump or move depends on uninitialised value(s)
==12116== at 0x526D432: cons_ (ocval.h:1188)
==12116== by 0x526D432: GenericIT (ocval.h:1119)
==12116== by 0x526D432: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:92)
==12116== by 0x526D50D: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:94)
==12116== by 0x5211F5D: loads (pickleloader.h:566)
==12116== by 0x5211F5D: LoadValFromArray (chooseser.h:290)
==12116== by 0x5211F5D: LoadValFromFile (chooseser.h:405)
==12116== by 0x5211F5D: _read_and_assert_model(char const*, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&) (vmaf.cpp:77)
==12116== by 0x5212B0F: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:149)
==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
==12116== by 0x7967493: start_thread (pthread_create.c:333)
==12116== by 0x7F69A8E: clone (clone.S:97)
==12116==
==12116== Conditional jump or move depends on uninitialised value(s)
==12116== at 0x526D432: cons_ (ocval.h:1188)
==12116== by 0x526D432: GenericIT (ocval.h:1119)
==12116== by 0x526D432: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:92)
==12116== by 0x526D50D: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:94)
==12116== by 0x526D50D: OC::TranslateForNumPyClassesToArray(OC::Val&) (pickleloader.h:94)
==12116== by 0x5211F5D: loads (pickleloader.h:566)
==12116== by 0x5211F5D: LoadValFromArray (chooseser.h:290)
==12116== by 0x5211F5D: LoadValFromFile (chooseser.h:405)
==12116== by 0x5211F5D: _read_and_assert_model(char const*, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&, OC::Val&) (vmaf.cpp:77)
==12116== by 0x5212B0F: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:149)
==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
==12116== by 0x7967493: start_thread (pthread_create.c:333)
==12116== by 0x7F69A8E: clone (clone.S:97)
==12116==
==12116== Use of uninitialised value of size 8
==12116== at 0x518AC79: read_frame_8bit (vf_libvmaf.c:147)
==12116== by 0x52AB5E8: combo (combo.c:149)
==12116== by 0x5212E95: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:278)
==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
==12116== by 0x7967493: start_thread (pthread_create.c:333)
==12116== by 0x7F69A8E: clone (clone.S:97)
==12116==
==12116== Invalid read of size 4
==12116== at 0x518AC79: read_frame_8bit (vf_libvmaf.c:147)
==12116== by 0x52AB5E8: combo (combo.c:149)
==12116== by 0x5212E95: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:278)
==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
==12116== by 0x7967493: start_thread (pthread_create.c:333)
==12116== by 0x7F69A8E: clone (clone.S:97)
==12116== Address 0x40 is not stack'd, malloc'd or (recently) free'd
==12116==
==12116==
==12116== Process terminating with default action of signal 11 (SIGSEGV)
==12116== Access not within mapped region at address 0x40
==12116== at 0x518AC79: read_frame_8bit (vf_libvmaf.c:147)
==12116== by 0x52AB5E8: combo (combo.c:149)
==12116== by 0x5212E95: VmafRunner::run(Asset, int (*)(float*, float*, float*, int, void*), void*, bool, bool, bool, bool, bool) (vmaf.cpp:278)
==12116== by 0x52165B6: RunVmaf(char const*, int, int, int (*)(float*, float*, float*, int, void*), void*, char const*, char const*, char const*, bool, bool, bool, bool, bool, char const*) (vmaf.cpp:645)
==12116== by 0x518AFFF: compute_vmaf_score (vf_libvmaf.c:161)
==12116== by 0x518AFFF: call_vmaf (vf_libvmaf.c:170)
==12116== by 0x7967493: start_thread (pthread_create.c:333)
==12116== by 0x7F69A8E: clone (clone.S:97)
|
a8ab52fae7286d4e7eec9256a08b6ad0b1e39d6c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/a8ab52fae7286d4e7eec9256a08b6ad0b1e39d6c
|
2017-08-29 10:19:04+02:00
|
yadif: Account for the buffer alignment while processing the frame edges
Avoid out of bound reads.
Bug-Id: 1031
CC: [email protected]
Signed-off-by: Luca Barbato <[email protected]>
|
feed239021bad89743d5e7989b426ae594322eb7
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/feed239021bad89743d5e7989b426ae594322eb7
|
2017-08-22 22:31:19+02:00
|
avcodec/pixlet: fixes integer overflow in read_highpass()
Fixes: runtime error: negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int'); cast to an unsigned type to negate this value to itself
Fixes: 2879/clusterfuzz-testcase-minimized-6317542639403008
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
cadab5a2a74d715fc16325bd89f8b8091def1083
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/cadab5a2a74d715fc16325bd89f8b8091def1083
|
2017-08-18 11:34:01+02:00
|
avcodec/jpeg2000: Check that codsty->log2_prec_widths/heights has been initialized
Fixes: OOM
Fixes: 2225/clusterfuzz-testcase-minimized-5505632079708160
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
64e034da954125ef98fb8f9153f9706cdb8a96fe
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/64e034da954125ef98fb8f9153f9706cdb8a96fe
|
2017-09-30 23:35:45+02:00
|
avcodec/diracdec: Check weight_log2denom
Fixes: runtime error: shift exponent -1 is negative
Fixes: 2742/clusterfuzz-testcase-minimized-5724322402402304
Fixes: 2744/clusterfuzz-testcase-minimized-4672435653705728
Fixes: 2749/clusterfuzz-testcase-minimized-5298741273690112
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
880f5c59139e1d85d3a0b3433103f3fea17ff2d3
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/880f5c59139e1d85d3a0b3433103f3fea17ff2d3
|
2017-08-01 13:54:43+02:00
|
cinepakenc: fixes and improvements
version 2013-02-08 Rl
- fixes/optimization in multistrip encoding and codebook size choice,
quality/bitrate is now better than that of the binary proprietary encoder
version 2013-02-12 Rl
- separated codebook training sets, avoided the transfer of wasted bytes,
which yields both better quality and smaller files
- now using the correct colorspace (TODO: move conversion to libswscale)
version 2013-02-14 Rl "Valentine's Day" version:
- made strip division more robust
- minimized bruteforcing the number of strips,
(costs some R/D but speeds up compession a lot), the heuristic
assumption is that score as a function of the number of strips has
one wide minimum which moves slowly, of course not fully true
- simplified codebook generation,
the old code was meant for other optimizations than we actually do
- optimized the codebook generation / error estimation for MODE_MC
version 2013-04-28 Rl
- bugfixed codebook optimization logic
version 2014-01-20 Rl
- made the encoder compatible with vintage decoders
and added some yet unused code for possible future
incremental codebook updates
- fixed a small memory leak
version 2014-01-21 Rl
- believe it or not, now we get even smaller files, with better quality
(which means I missed an optimization earlier :)
Signed-off-by: Diego Biurrun <[email protected]>
|
7da9f4523159670d577a2808d4481e64008a8894
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/7da9f4523159670d577a2808d4481e64008a8894
|
2017-07-05 13:05:54+02:00
|
doc: Add initial documentation explaining undefined behavior and SUINT
Requested-by: Kieran Kunhya <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
1196e53b701369d7f0c886f69f3d8f50f54e7412
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/1196e53b701369d7f0c886f69f3d8f50f54e7412
|
2017-07-21 17:37:05+02:00
|
configure: fix assignment of assembler specific flags
If the first assembler to be probed is an old nasm build, X86ASM_DEPFLAGS
will be set and remain so after yasm is ultimately used as fallback.
This results in yasm being called with said nasm specific flags and failing
during actual object assembly but not with configure sanity checks.
Regression since 5cae5a1defa360da076365a786093a749d1ddf4e
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
f66086adac5eb9b964c89ea0480487f48875f690
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/f66086adac5eb9b964c89ea0480487f48875f690
|
2017-06-23 17:55:14-03:00
|
avcodec/takdec: Fixes: integer overflow in AV_SAMPLE_FMT_U8P output
Fixes: runtime error: signed integer overflow: 2147483543 + 128 cannot be represented in type 'int'
Fixes: 2234/clusterfuzz-testcase-minimized-6266896041115648
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
27c20068054d8c6786833234f7b6db19f1e98362
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/27c20068054d8c6786833234f7b6db19f1e98362
|
2017-06-18 14:38:41+02:00
|
avcodec/aacdec_fixed: Check s for being too small
Fixes: runtime error: shift exponent -8 is negative
Fixes: 2286/clusterfuzz-testcase-minimized-5711764169687040
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
cf7edbd6c5d48d7302877352f7b60092d5b65243
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/cf7edbd6c5d48d7302877352f7b60092d5b65243
|
2017-06-19 17:54:40+02:00
|
avfilter/af_afftfilt: fix memory leaks
Signed-off-by: Paul B Mahol <[email protected]>
|
67162554d458c12f73c9461d5e661445693a201c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/67162554d458c12f73c9461d5e661445693a201c
|
2017-06-04 22:51:57+02:00
|
avcodec/snowdec: Fix runtime error: signed integer overflow: 1404 * 8388608 cannot be represented in type 'int'
Fixes: 2004/clusterfuzz-testcase-minimized-5533262866808832
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
14b6adfd4627421223894c6909476d229cb6d07d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/14b6adfd4627421223894c6909476d229cb6d07d
|
2017-06-03 00:09:58+02:00
|
avcodec/hevcpred_template: Fix left shift of negative value
Fixes: runtime error: left shift of negative value -1
Fixes: 2250/clusterfuzz-testcase-minimized-5693382112313344
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
c94326c1fc2fb5719c6f28fe1b95c0c74417998b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/c94326c1fc2fb5719c6f28fe1b95c0c74417998b
|
2017-06-17 22:36:54+02:00
|
avcodec/avpacket: Limit iterations in ff_packet_split_and_drop_side_data()
This avoids scaning beyond what a valid packet can contain
Fixes: Timeout
Fixes: 541/clusterfuzz-testcase-610189291657625
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
07339a45a04e5fa0848937090511d69a39a04740
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/07339a45a04e5fa0848937090511d69a39a04740
|
2017-06-11 22:09:15+02:00
|
avcodec/aacsbr_fixed: Fix multiple runtime error: shift exponent 150 is too large for 32-bit type 'int'
Fixes: 1681/clusterfuzz-testcase-minimized-5970545365483520
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
3fb104f4476ad238e2ca768e9b80dc314e6e856d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/3fb104f4476ad238e2ca768e9b80dc314e6e856d
|
2017-05-19 13:14:12+02:00
|
avcodec/aacdec_fixed: Fix various integer overflows
Fixes: 1377/clusterfuzz-testcase-minimized-5487049807233024
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
ad2296ab3a131d3560c385e43437841987166804
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ad2296ab3a131d3560c385e43437841987166804
|
2017-05-11 13:02:12+02:00
|
avcodec/mpeg12dec: Fixes runtime error: division by zero
Fixes: 1464/clusterfuzz-testcase-minimized-4925445571084288
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
c0ece1f4addf8ac31df95775a2d36be2a55fc759
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/c0ece1f4addf8ac31df95775a2d36be2a55fc759
|
2017-05-11 00:50:03+02:00
|
avcodec/wavpack: Fix signed integer overflow: 1285114081 * 2 cannot be represented in type 'int'
Fixes: 945/clusterfuzz-testcase-6037937588273152
Fixes: integer overflow
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
aaeec1c654a2c139a7bc95e677a23d8ac57f1c5e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/aaeec1c654a2c139a7bc95e677a23d8ac57f1c5e
|
2017-05-08 17:02:02+02:00
|
avcodec/vp8dsp: Fixes: runtime error: signed integer overflow: 1330143360 - -1023040530 cannot be represented in type 'int'
Fixes: 1406/clusterfuzz-testcase-minimized-5064865125236736
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
8824b7370a9fb72f9c699c3751a5ceb56e0cc41d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/8824b7370a9fb72f9c699c3751a5ceb56e0cc41d
|
2017-05-08 12:30:09+02:00
|
avcodec/cavsdec: Check sym_factor
Fixes: runtime error: signed integer overflow: 25984 * 130560 cannot be represented in type 'int'
Fixes: 1404/clusterfuzz-testcase-minimized-5000441286885376
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
279420b5a63b3f254e4932a4afb91759fb50186a
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/279420b5a63b3f254e4932a4afb91759fb50186a
|
2017-05-08 12:30:09+02:00
|
avcodec/aacsbr_template: Do not change bs_num_env before its checked
Fixes: 1489/clusterfuzz-testcase-minimized-5075102901207040
Fixes: out of array access
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
87b08ee6d2a3b0880f0a267c5d51dc7f415e81d7
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/87b08ee6d2a3b0880f0a267c5d51dc7f415e81d7
|
2017-05-13 18:07:33+02:00
|
avcodec/avcodec: Limit the number of side data elements per packet
Fixes: 1293/clusterfuzz-testcase-minimized-6054752074858496
See: [FFmpeg-devel] [PATCH] avcodec/avcodec: Limit the number of side data elements per packet
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
d5711cb89121268e8d78ebe8563a68e67a236cbb
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/d5711cb89121268e8d78ebe8563a68e67a236cbb
|
2017-05-12 14:19:52+02:00
|
avcodec/truemotion1: Fix multiple runtime error: left shift of negative value -1
Fixes: 1446/clusterfuzz-testcase-minimized-5577409124368384
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
db5fae32294763677caa4c1417dcba704c7e764e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/db5fae32294763677caa4c1417dcba704c7e764e
|
2017-05-10 21:32:53+02:00
|
avcodec/s302m: Fix left shift of 8 by 28 places cannot be represented in type 'int'
Fixes: 1395/clusterfuzz-testcase-minimized-5330939741732864
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
a38e9797cb4123d13ba871d166a737786ba04a9b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/a38e9797cb4123d13ba871d166a737786ba04a9b
|
2017-05-07 19:32:33+02:00
|
avcodec/mss3: Change types in rac_get_model_sym() to match the types they are initialized from
Fixes integer overflow
Fixes: 1372/clusterfuzz-testcase-minimized-5712192982745088
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
2ef0f392711445e173a56b2c073dedb021ae3783
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/2ef0f392711445e173a56b2c073dedb021ae3783
|
2017-05-06 19:10:50+02:00
|
avcodec/hevc_parse: check for parameter set decoding failure
Reviewed-by: nevcairiel
Signed-off-by: James Almer <[email protected]>
|
159ab4625bd3641e79b564335be8069dca881978
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/159ab4625bd3641e79b564335be8069dca881978
|
2017-04-09 13:46:33-03:00
|
avformat/oggparsedaala: Check duration for AV_NOPTS_VALUE
This avoids an integer overflow
the solution matches oggparsevorbis.c and 45581ed15d2ad5955e24d809820c1675da68f500
Fixes: 700242
Found-by: Thomas Guilbert <[email protected]>
Reviewed-by: Rostislav Pehlivanov <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
679a315424e6ffaafd21ebf7a86108bd4e743793
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/679a315424e6ffaafd21ebf7a86108bd4e743793
|
2017-04-01 22:09:23+02:00
|
avcodec/svq1: zero initialize entries array
Fixes valgrind warnings about "Use of uninitialised value of size 8"
Reviewed-by: Kieran Kunhya <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
aed84ee4d1b0c9e315a84b1ee0918fa49ee9cc09
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/aed84ee4d1b0c9e315a84b1ee0918fa49ee9cc09
|
2017-04-09 13:38:41-03:00
|
avformat, ffmpeg: deprecate old rotation API
The old "API" that signaled rotation as a metadata value has been
replaced by DISPLAYMATRIX side data quite a while ago.
There is no reason to make muxers/demuxers/API users support both. In
addition, the metadata API is dangerous, as user tags could "leak" into
it, creating unintended features or bugs.
ffmpeg CLI has to be updated to use the new API. In particular, we must
not allow to leak the "rotate" tag into the muxer. Some muxers will
catch this properly (like mov), but others (like mkv) can add it as
generic tag. Note applications, which use libavformat and assume the
old rotate API, will interpret such "rotate" user tags as rotate
metadata (which it is not), and incorrectly rotate the video.
The ffmpeg/ffplay tools drop the use of the old API for muxing and
demuxing, as all muxers/demuxers support the new API. This will mean
that the tools will not mistakenly interpret per-track "rotate" user
tags as rotate metadata. It will _not_ be treated as regression.
Unfortunately, hacks have been added, that allow the user to override
rotation by setting metadata explicitly, e.g. via
-metadata:s:v:0 rotate=0
See references to trac #4560. fate-filter-meta-4560-rotate0 tests this.
It's easier to adjust the hack for supporting it than arguing for its
removal, so ffmpeg CLI now explicitly catches this case, and essentially
replaces the "rotate" value with a display matrix side data. (It would
be easier for both user and implementation to create an explicit option
for rotation.)
When the code under FF_API_OLD_ROTATE_API is disabled, one FATE
reference file has to be updated (because "rotate" is not exported
anymore).
Tested-by: Michael Niedermayer <[email protected]>
Reviewed-by: Michael Niedermayer <[email protected]>
|
ddef3d902f0e4cbd6be6b3e5df7ec158ce51488b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/ddef3d902f0e4cbd6be6b3e5df7ec158ce51488b
|
2017-03-27 13:20:27+02:00
|
avcodec/mpegaudiodec_template: Make l3_unscale() work with e=0
Fixes undefined behavior
Fixes: 830/clusterfuzz-testcase-6253175327686656
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
8ebed703f153e979edb2156754c8bdac4d5d6266
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/8ebed703f153e979edb2156754c8bdac4d5d6266
|
2017-03-14 22:48:49+01:00
|
lavc: Drop deprecated workaround bugs options
Illegal ac_vlc and old msmpeg4 detection deprecated in 10/2013.
|
0c7986df444273b0e53d3992ba9cc1108bd6a386
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0c7986df444273b0e53d3992ba9cc1108bd6a386
|
2017-03-23 10:09:14+01:00
|
avcodec/simple_idct_template: Fix several integer overflows
Benchmarks with START_TIMER indicate that the code is faster with unsigned, (that is
with the patch), there was quite some fluctuation in the numbers so this may be just
random
Fixes: 811/clusterfuzz-testcase-6465493076541440
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
45198477de19ccb00729b7eec07d81494f0353e0
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/45198477de19ccb00729b7eec07d81494f0353e0
|
2017-03-16 01:04:35+01:00
|
avcodec/wavpack: Fix runtime error: shift exponent 32 is too large for 32-bit type 'int'
Fixes: 822/clusterfuzz-testcase-4873433189974016
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
7cebc5a9ccba0de7bddf7900ae85652ebc66141c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/7cebc5a9ccba0de7bddf7900ae85652ebc66141c
|
2017-03-14 02:23:50+01:00
|
avcodec/mdec: Fix runtime error: left shift of negative value -127
Fixes undefined behavior
Fixes: 1275/clusterfuzz-testcase-minimized-6718162017976320
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
6ca82975b7a8eaf676a52738ec8e7e36732327cc
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/6ca82975b7a8eaf676a52738ec8e7e36732327cc
|
2017-04-27 04:25:31+02:00
|
avcodec/pictordec: runtime error: left shift of 15 by 28 places cannot be represented in type 'int'
Fixes: 898/clusterfuzz-testcase-6149765467209728
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
0f34c0789f855f04dce518ffc93a01bb943ba1aa
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0f34c0789f855f04dce518ffc93a01bb943ba1aa
|
2017-03-23 15:25:48+01:00
|
avcodec/mpegaudiodec_template: Check for negative e
Fixes: undefined shift
Fixes: 631/clusterfuzz-testcase-6725491035734016
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
58dd25f8adb151a59971daa94d352d3226d2dbb6
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/58dd25f8adb151a59971daa94d352d3226d2dbb6
|
2017-03-09 20:37:10+01:00
|
avcodec/mpegaudiodec_template: Fix runtime error: signed integer overflow: 2053224902 + 2053224902 cannot be represented in type 'int'
Fixes: 696/clusterfuzz-testcase-5853632270434304
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
3b0b35150df4a9da75105662d145603151de6714
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/3b0b35150df4a9da75105662d145603151de6714
|
2017-03-03 01:03:29+01:00
|
avcodec/wavpack: Fix runtime error: shift exponent 137 is too large for 32-bit type 'int'
Fixes: 808/clusterfuzz-testcase-4715513349406720
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
1467143a6ebf08a16ec0b833ae462f88345828bd
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/1467143a6ebf08a16ec0b833ae462f88345828bd
|
2017-03-14 02:23:50+01:00
|
avcodec/eac3dec: Fix runtime error: left shift of negative value -3
Fixes: 672/clusterfuzz-testcase-5595018867769344
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
87eb3749708c0eb2978f4812c7be2a4af667fdb7
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/87eb3749708c0eb2978f4812c7be2a4af667fdb7
|
2017-02-26 17:16:22+01:00
|
avcodec/wavpack: Check post_shift
Fixes: runtime error: shift exponent 34 is too large for 32-bit type 'int'
Fixes: 653/clusterfuzz-testcase-5773837415219200
Signed-off-by: Michael Niedermayer <[email protected]>
|
5eb04570f6609d7e9706f2ce8b61119605e3a0a2
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/5eb04570f6609d7e9706f2ce8b61119605e3a0a2
|
2017-02-25 22:02:23+01:00
|
avcodec/ituh263dec: Check cbpy in ff_h263_decode_mb()
Fixes: 618/clusterfuzz-testcase-6594990333493248
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
b7d9b4a1f1fcd01084ccbec6f7ef32c853681833
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/b7d9b4a1f1fcd01084ccbec6f7ef32c853681833
|
2017-02-20 00:49:44+01:00
|
avcodec/mpeg4videodec: Check sprite_offset in addition to shifts
Fixes: 651/clusterfuzz-testcase-5710668915277824
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
6871df02d973c9ffc1aa4f6d08fb4b1b63d411be
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/6871df02d973c9ffc1aa4f6d08fb4b1b63d411be
|
2017-02-22 22:29:03+01:00
|
avcodec/ituh263dec: Fix runtime error: left shift of negative value -22
Fixes: 639/clusterfuzz-testcase-5143866241974272
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
631f7484918a9e7260377c3cea878be708609e64
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/631f7484918a9e7260377c3cea878be708609e64
|
2017-02-21 19:05:04+01:00
|
avcodec/h264dec: Clear ref_count on slice header processing failure
Fixes using freed memory
Introduced in 744801989099df26e90b00062c645969c5347533
Fixes: 471/fuzz-1-ffmpeg_VIDEO_AV_CODEC_ID_H264_fuzzer
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
|
f28299da8d06f0f3fe0195edff727b246d0a34cf
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/f28299da8d06f0f3fe0195edff727b246d0a34cf
|
2017-01-27 00:52:49+01:00
|
avutil: fix data race in av_get_cpu_flags()
Make the one-time initialization in av_get_cpu_flags() thread-safe. The
static variable |cpu_flags| in libavutil/cpu.c is read and written using
normal load and store operations. These are considered as data races.
The fix is to use atomic load and store operations.
The fix can be verified by running the libavutil/tests/cpu_init.c test
program under ThreadSanitizer:
./configure --toolchain=clang-tsan
make libavutil/tests/cpu_init
libavutil/tests/cpu_init
There should be no warnings from ThreadSanitizer.
Co-author: Dmitry Vyukov of Google, who suggested the data race fix.
Signed-off-by: Wan-Teh Chang <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
fed50c4304eecb352e29ce789cdb96ea84d6162f
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/fed50c4304eecb352e29ce789cdb96ea84d6162f
|
2016-12-13 00:07:20+01:00
|
ffplay: fix sws_scale possible out of bounds array access
As I used simple RGBA formats for subtitles and for the video texture if
avfilter is disabled I kind of assumed that sws_scale won't access data
pointers and strides above index 0, but apparently that is not the case.
Fixes Coverity CID 1396737, 1396738, 1396739, 1396740.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Marton Balint <[email protected]>
|
1f3910262e1b9091f597ebbb710b478d40319986
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/1f3910262e1b9091f597ebbb710b478d40319986
|
2016-12-10 23:22:11+01:00
|
libschroedingerdec: don't produce empty frames
They are not valid and can cause problems/crashes for API users.
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
8c3a643808fc89c8003478ea952187cd9fe5d27a
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/8c3a643808fc89c8003478ea952187cd9fe5d27a
|
2016-12-08 15:53:58-05:00
|
mss2: only use error correction for matching block counts
This fixes a heap-buffer-overflow in ff_er_frame_end when decoding mss2
with coded_width/coded_height larger than width/height.
Signed-off-by: Andreas Cadhalpun <[email protected]>
Signed-off-by: Luca Barbato <[email protected]>
|
1762a39e09a3edc27d1ef7bc50070f496b893aa4
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/1762a39e09a3edc27d1ef7bc50070f496b893aa4
|
2016-11-29 10:38:01+01:00
|
arm: vp9: Add NEON optimizations of VP9 MC functions
This work is sponsored by, and copyright, Google.
The filter coefficients are signed values, where the product of the
multiplication with one individual filter coefficient doesn't
overflow a 16 bit signed value (the largest filter coefficient is
127). But when the products are accumulated, the resulting sum can
overflow the 16 bit signed range. Instead of accumulating in 32 bit,
we accumulate the largest product (either index 3 or 4) last with a
saturated addition.
(The VP8 MC asm does something similar, but slightly simpler, by
accumulating each half of the filter separately. In the VP9 MC
filters, each half of the filter can also overflow though, so the
largest component has to be handled individually.)
Examples of relative speedup compared to the C version, from checkasm:
Cortex A7 A8 A9 A53
vp9_avg4_neon: 1.71 1.15 1.42 1.49
vp9_avg8_neon: 2.51 3.63 3.14 2.58
vp9_avg16_neon: 2.95 6.76 3.01 2.84
vp9_avg32_neon: 3.29 6.64 2.85 3.00
vp9_avg64_neon: 3.47 6.67 3.14 2.80
vp9_avg_8tap_smooth_4h_neon: 3.22 4.73 2.76 4.67
vp9_avg_8tap_smooth_4hv_neon: 3.67 4.76 3.28 4.71
vp9_avg_8tap_smooth_4v_neon: 5.52 7.60 4.60 6.31
vp9_avg_8tap_smooth_8h_neon: 6.22 9.04 5.12 9.32
vp9_avg_8tap_smooth_8hv_neon: 6.38 8.21 5.72 8.17
vp9_avg_8tap_smooth_8v_neon: 9.22 12.66 8.15 11.10
vp9_avg_8tap_smooth_64h_neon: 7.02 10.23 5.54 11.58
vp9_avg_8tap_smooth_64hv_neon: 6.76 9.46 5.93 9.40
vp9_avg_8tap_smooth_64v_neon: 10.76 14.13 9.46 13.37
vp9_put4_neon: 1.11 1.47 1.00 1.21
vp9_put8_neon: 1.23 2.17 1.94 1.48
vp9_put16_neon: 1.63 4.02 1.73 1.97
vp9_put32_neon: 1.56 4.92 2.00 1.96
vp9_put64_neon: 2.10 5.28 2.03 2.35
vp9_put_8tap_smooth_4h_neon: 3.11 4.35 2.63 4.35
vp9_put_8tap_smooth_4hv_neon: 3.67 4.69 3.25 4.71
vp9_put_8tap_smooth_4v_neon: 5.45 7.27 4.49 6.52
vp9_put_8tap_smooth_8h_neon: 5.97 8.18 4.81 8.56
vp9_put_8tap_smooth_8hv_neon: 6.39 7.90 5.64 8.15
vp9_put_8tap_smooth_8v_neon: 9.03 11.84 8.07 11.51
vp9_put_8tap_smooth_64h_neon: 6.78 9.48 4.88 10.89
vp9_put_8tap_smooth_64hv_neon: 6.99 8.87 5.94 9.56
vp9_put_8tap_smooth_64v_neon: 10.69 13.30 9.43 14.34
For the larger 8tap filters, the speedup vs C code is around 5-14x.
This is significantly faster than libvpx's implementation of the same
functions, at least when comparing the put_8tap_smooth_64 functions
(compared to vpx_convolve8_horiz_neon and vpx_convolve8_vert_neon from
libvpx).
Absolute runtimes from checkasm:
Cortex A7 A8 A9 A53
vp9_put_8tap_smooth_64h_neon: 20150.3 14489.4 19733.6 10863.7
libvpx vpx_convolve8_horiz_neon: 52623.3 19736.4 21907.7 25027.7
vp9_put_8tap_smooth_64v_neon: 14455.0 12303.9 13746.4 9628.9
libvpx vpx_convolve8_vert_neon: 42090.0 17706.2 17659.9 16941.2
Thus, on the A9, the horizontal filter is only marginally faster than
libvpx, while our version is significantly faster on the other cores,
and the vertical filter is significantly faster on all cores. The
difference is especially large on the A7.
The libvpx implementation does the accumulation in 32 bit, which
probably explains most of the differences.
This is an adapted cherry-pick from libav commits
ffbd1d2b0002576ef0d976a41ff959c635373fdc,
392caa65df3efa8b2d48a80f08a6af4892c61c08,
557c1675cf0e803b2fee43b4c8b58433842c84d0 and
11623217e3c9b859daee544e31acdd0821b61039.
Signed-off-by: Ronald S. Bultje <[email protected]>
|
68caef9d48c4f1540b1b3181ebe7062a3417c62a
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/68caef9d48c4f1540b1b3181ebe7062a3417c62a
|
2016-11-15 15:10:03-05:00
|
Revert "avformat/utils: Discard huge timestamps which would cause overflows if used in basic computations"
Some people seem to oppose this the patch seems to have been missed for a month on the ML
lets restart the discussion and solve this after the release
This reverts commit e936c8d176efd1a0a41e22df24564b1178c79ea9.
|
38e5a4f3bbe9c79928e70f2834ab0c7b27349d41
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/38e5a4f3bbe9c79928e70f2834ab0c7b27349d41
|
2016-10-26 20:31:04+02:00
|
avcodec/dvdsubdec: Fix buf_size check
Fixes out of array access
Found-by: Thomas Garnier using libFuzzer
Signed-off-by: Michael Niedermayer <[email protected]>
|
25ab1a65f3acb5ec67b53fb7a2463a7368f1ad16
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/25ab1a65f3acb5ec67b53fb7a2463a7368f1ad16
|
2016-10-26 18:46:10+02:00
|
aiffdec: fix division by zero
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
c143a9c96ff907a8fe4598529664aec7cb156708
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/c143a9c96ff907a8fe4598529664aec7cb156708
|
2016-10-17 18:24:48+02:00
|
avformat/movenc: Switch mov_write_uuidprof_tag() to avg_frame_rate
Using the stream timebase simply overflows
Fix integer overflow in psp framerate computation
Signed-off-by: Michael Niedermayer <[email protected]>
|
21bffa93a6fc73e1f1859f8bc224409eaaf27658
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/21bffa93a6fc73e1f1859f8bc224409eaaf27658
|
2016-10-10 00:58:16+02:00
|
avprobe: Fix memory leak
After init_opts() there needs to be an uninit_opts() call
to free the swscale context and other buffers.
Signed-off-by: Luca Barbato <[email protected]>
|
95f80293456d9d4b1b096621260c38bc90325ec0
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/95f80293456d9d4b1b096621260c38bc90325ec0
|
2016-08-29 19:08:26+02:00
|
Revert "Merge commit '3c53627ac17fc6bdea5029be57da1e03b32d265d'"
This reverts commit d30cf57a7b2097b565db02ecfffbdc9c16423d0e, reversing changes made to
acc155ac55baa95d1c16c0364b02244bc04d83a8. The commit d30cf57a7b2097b565db02ecfffbdc9c16423d0e
provided irrelevant code complexity and decoding slowdown. But the main disadvantage of this
commit is a decoder crash. So it should be reverted.
Signed-off-by: Michael Niedermayer <[email protected]>
|
b4054100f675b395204f1a0471fba0b06fe08e9f
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/b4054100f675b395204f1a0471fba0b06fe08e9f
|
2016-07-24 18:36:26+02:00
|
avformat/format: Fix registering a format more than once and related races
Signed-off-by: Michael Niedermayer <[email protected]>
|
4cc896ea5f06f8b1ebcde6d876d9c5b59ef9a016
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/4cc896ea5f06f8b1ebcde6d876d9c5b59ef9a016
|
2016-06-25 20:09:10+02:00
|
avcodec/m101: Check BPS value
Fixes null pointer dereference
Fixes Ticket5520
Signed-off-by: Michael Niedermayer <[email protected]>
|
42ee137a0a7d025f77964e38b438d00095e6dd11
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/42ee137a0a7d025f77964e38b438d00095e6dd11
|
2016-05-18 18:40:22+02:00
|
aacenc: use av_clip() instead of av_clip() during quantization
Seems like clang might be miscompiling it and causing a signed integer overflow,
making a FATE test fail.
Doesn't seem to affect performance, it only runs on the ESC codebook.
Reviewed-by: Claudio Freire <[email protected]>
Signed-off-by: Rostislav Pehlivanov <[email protected]>
|
c0918613a0ecaac6819409c64107583eebc0ccc2
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/c0918613a0ecaac6819409c64107583eebc0ccc2
|
2016-03-30 01:04:43+01:00
|
avcodec/diracdec: check bitstream size related fields for overflows
Fixes segfault
Fixes Ticket5333
Regression since bfc8a4dabe5a0154b31128b59dca575010176441
Signed-off-by: Michael Niedermayer <[email protected]>
|
8f2a1990c06df73cf58401c8ba193711eb8947e7
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/8f2a1990c06df73cf58401c8ba193711eb8947e7
|
2016-03-28 04:39:57+02:00
|
ape: Avoid undefined behaviour
Avoid the clang warning
"warning: shifting a negative signed value is undefined"
|
f3fdef108eb06b1e71b29152bf6822519e787efe
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/f3fdef108eb06b1e71b29152bf6822519e787efe
|
2016-04-19 20:22:31+02:00
|
avformat/dump: Fix context/level for payload dump
Use the context and level specified to av_pkt_dump_log2(),
instead of panic level (0), for dumping packet payload.
Signed-off-by: Michael Niedermayer <[email protected]>
|
238ddd6482d7aea2e917760a9bef291030a11e61
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/238ddd6482d7aea2e917760a9bef291030a11e61
|
2016-03-06 03:32:04+01:00
|
vc2enc: fix packet underallocation and minimum bitrate with interlacing
This was a regression introduced by commit e7345abe052 which
enabled full use of the allocated packet but due to the overhead of
using field coding the buffer was too small and triggered warnings and
crashes.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
|
7bcc57ad99381a5aafdb5471ca164e4b6dca7d25
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/7bcc57ad99381a5aafdb5471ca164e4b6dca7d25
|
2016-03-01 13:44:18+00:00
|
avformat/msf: Also check the codec tag in probing
Fixes probing failure
Signed-off-by: Michael Niedermayer <[email protected]>
|
a6cd817a544e4e526f18391bd2c7112dc12d2f94
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/a6cd817a544e4e526f18391bd2c7112dc12d2f94
|
2016-02-29 19:25:01+01:00
|
mss2: Fix buffer overflow.
Reported as https://trac.mplayerhq.hu/ticket/2264 but have
not been able to reproduce with FFmpeg-only.
I have no idea what coded_height is used for here exactly,
so this might not be the best fix.
Fixes the following chain of events:
ff_mss12_decode_init sets coded_height while not setting height.
ff_mpv_decode_init then copies coded_height into MpegEncContext height.
This is then used by init_context_frame to allocate the data structures.
However the wmv9rects are validated/initialized based on avctx->height, not
avctx->coded_height.
Thus the decode_wmv9 function will try to decode a larger video that we
allocated data structures for, causing out-of-bounds writes.
Signed-off-by: Reimar Döffinger <[email protected]>
|
0f199f0ad01ea4504edcfd947c85cfa69292f881
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0f199f0ad01ea4504edcfd947c85cfa69292f881
|
2016-02-28 13:32:01+01:00
|
lavc/utvideodec: prevent possible signed overflow
Doing slice_end - slice_start is unsafe and can lead to undefined behavior
until slice_end has been properly sanitized.
Reviewed-by: Ronald S. Bultje <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
|
e86444b19d0b63c098298243fb20fd577f34cf34
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/e86444b19d0b63c098298243fb20fd577f34cf34
|
2016-02-23 20:37:11-05:00
|
avfilter/af_apulsator: assert that pathes leaving uninitialized variables do not occur
Fixes: CID1341581, CID1341582
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
1693336aed3988e0c13ad1ff880257d80d6ae69d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/1693336aed3988e0c13ad1ff880257d80d6ae69d
|
2016-02-04 23:14:02+01:00
|
oggparsedaala: check number of planes in pixel format map
This fixes crashes caused by out-of-bounds writes.
Reviewed-by: Rostislav Pehlivanov <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
b4466c9c1a82ce72011ed72e1221a30b15f73adb
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/b4466c9c1a82ce72011ed72e1221a30b15f73adb
|
2015-12-29 18:42:14+01:00
|
ffmpeg: check return value of avio_closep for progress report
avio_closep is not guaranteed to succeed, and its return value can
contain information regarding failure of preceding writes and silent
loss of data (man 2 close, man fclose). Users should know when the
progress was not successfully logged, and so a diagnostic is printed
here.
Reviewed-by: Michael Niedermayer <[email protected]>
Reviewed-by: James Almer <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
|
a956840cbcf89d709c4bd5980808ac0b5c8aeedf
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/a956840cbcf89d709c4bd5980808ac0b5c8aeedf
|
2016-01-05 19:06:21-08:00
|
avcodec/utils: Use 64bit for aspect ratio calculation in avcodec_string()
Fixes integer overflow
Fixes: 3a45b2ae02f2cf12b7bd99543cdcdae5/asan_heap-oob_1dff502_8022_899f75e1e81046ebd7b6c2394a1419f4.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
4f03bebc79f76df3a3e5bb9e1bc32baabfb7797c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/4f03bebc79f76df3a3e5bb9e1bc32baabfb7797c
|
2015-11-28 20:10:51+01:00
|
aacsbr_fixed: check for envelope scalefactors overflowing
This prevents various values from getting an insanely huge exponent.
If someone knows a cleaner solution, thats welcome!
This is similar to commit 8978c74 for aacsbr.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
|
0e36a14a423b7cb32d54d1b621cc9136cccc3dc5
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0e36a14a423b7cb32d54d1b621cc9136cccc3dc5
|
2015-11-11 21:49:51+01:00
|
avutil/softfloat: Check for MIN_EXP in av_sqrt_sf()
Otherwise the exponent could eventually underflow
Signed-off-by: Michael Niedermayer <[email protected]>
|
0269fb11e3de17375f86d9120599af8c87cdfa0a
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0269fb11e3de17375f86d9120599af8c87cdfa0a
|
2015-11-08 13:39:06+01:00
|
avutil/intmath: fix undefined behavior in ff_ctzll_c()
Signed-off-by: Michael Niedermayer <[email protected]>
|
00efaa798377502657d2f0267b5b62a4d05af195
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/00efaa798377502657d2f0267b5b62a4d05af195
|
2015-10-22 14:10:42+02:00
|
aacenc_ltp: fix assertion
A value of 2048 will overflow 11 bits.
|
780dba01f9aed8c9b6ba05eceac2fe3eac71198b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/780dba01f9aed8c9b6ba05eceac2fe3eac71198b
|
2015-10-17 12:00:30+01:00
|
avcodec/x86/sbrdsp: Fix using uninitialized upper 32bit of noise
Fixes crash
Fixes: flicker-1.scout3d21443372922.28.m4a
Found-by: Dale Curtis <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
1b82b934a166e60f64e966eaa97512ba9dcb615b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/1b82b934a166e60f64e966eaa97512ba9dcb615b
|
2015-09-29 13:23:25+02:00
|
avutil/libm: correct isnan, isinf compat hacks
isnan and isinf are actually macros as per the standard. In particular,
the existing implementation has incorrect signature. Furthermore, this
results in undefined behavior for e.g double values outside float range
as per the standard.
This patch corrects the undefined behavior for all usage within FFmpeg.
Note that long double is not handled as it is not used in FFmpeg.
Furthermore, even if at some point long double gets used, it is likely
not needed to modify the macro in practice for usage in FFmpeg. See
below for analysis.
Getting long double to work strictly per the spec is significantly harder
since a long double may be an IEEE 128 bit quad (very rare), 80 bit
extended precision value (on GCC/Clang), or simply double (on recent Microsoft).
On the other hand, any potential future usage of long double is likely
for precision (when a platform offers extra precision) and not for range, since
the range anyway varies and is not as portable as IEEE 754 single/double
precision. In such cases, the implicit cast to a double is well defined
and isinf and isnan should work as intended.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
|
14ea4151d7c3c26500193f11ac661ed20c7c2b9c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/14ea4151d7c3c26500193f11ac661ed20c7c2b9c
|
2015-11-21 08:51:49-05:00
|
AAC encoder: tweak PNS usage to be more aggressive
This patch tweaks search_for_pns to be both more
aggressive and more careful when applying PNS. On
the one side, it will again try to use PNS on zero
(or effectively zero) bands. For this, both zeroes
and band_type have to be checked (some ZERO bands
aren't marked in zeroes). On the other side, a more
accurate rate-distortion measure avoids using PNS
where it would cause audible distortion.
Also fixed a small bug in the computation of freq
that caused PNS usage on low-frequency bands during
8-short windows. This allows re-enabling PNS during
8-short.
|
9458a62decfcaa1313b1ba69276466de536d0768
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/9458a62decfcaa1313b1ba69276466de536d0768
|
2015-09-25 03:56:32-03:00
|
avdevice/xcbgrab: fix -Wunused-variable
This patch fixes a -Wunused-variable reported in e.g
http://fate.ffmpeg.org/log.cgi?time=20150918194649&log=compile&slot=x86_64-debian-asan-144800.
av_unused is used as opposed to a header guard for readability.
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
6a817ac1e9a0d2b747f71abc5345a54434ceb4a2
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/6a817ac1e9a0d2b747f71abc5345a54434ceb4a2
|
2015-09-19 01:35:43+02:00
|
avcodec/ira288: Check init_get_bits8() for failure
Fixes: CID1322321
Signed-off-by: Michael Niedermayer <[email protected]>
|
194dd155582d5b71fc3bb78ef77ce64d3f6c521d
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/194dd155582d5b71fc3bb78ef77ce64d3f6c521d
|
2015-09-04 02:19:06+02:00
|
avformat/mov: Change the type of the r/g/b variables
Fixes integer overflow
Fixes: unknown_unknown_31b_795_cov_1818643045_raybauduc.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
9ed53d5a8a9673e2178a4d6eb3a9fc12ebfbc323
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/9ed53d5a8a9673e2178a4d6eb3a9fc12ebfbc323
|
2015-09-03 22:17:00+02:00
|
libavformat/matroskaenc.c: fix small memory leaks on error
Fixing small leaks that can occur when mkv_write_tracks fails in mkv_write_header
(e.g., if video track has unknown codec). Also changing mkv_write_seekhead to take
the MatroskaMuxContext to avoid having dangling pointers.
Signed-off-by: Neil Birkbeck <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
3dabebc272b0ab5455610975a6d75de08b97dc62
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/3dabebc272b0ab5455610975a6d75de08b97dc62
|
2015-08-19 13:17:21+02:00
|
avcodec/dcaenc: clear bitstream end
This avoids leaving uninitialized bits in the output
Signed-off-by: Michael Niedermayer <[email protected]>
|
e322b7061f873e8fd33b9e518caa19b87616a528
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/e322b7061f873e8fd33b9e518caa19b87616a528
|
2015-08-04 04:16:43+02:00
|
fate: increase the fuzz of the AAC encoder aref test
Almost fine on SunOS without yasm but 5 wasn't enough.
Signed-off-by: Rostislav Pehlivanov <[email protected]>
|
cf6fb6f3f7215cac30473729e7cee322c2286c4f
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/cf6fb6f3f7215cac30473729e7cee322c2286c4f
|
2015-09-05 21:47:26+01:00
|
avcodec/aac_fixed: Fix a bug in spectral_to_sample()
There was fixed number of loops (2048) in preparation for resampler, so
when number of samples is smaller than this, there would be an overflow on
ret_buf.
For some reason this behavior popped out only under valgrind with
--disable-memory-poisoning option.
This is now fixed and number of loops depends on actual number of samples.
Signed-off-by: Nedeljko Babic <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
fee7c42bf45f72d457fafaee536f054ce59e4ec5
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/fee7c42bf45f72d457fafaee536f054ce59e4ec5
|
2015-07-28 20:13:07+02:00
|
af_channelmap: properly set the supported output channel layouts
The current code expects query_formats() to be called exactly once, it
will leak if it's not called at all (filter initialized, but never
configured or used) or try to read freed memory if it's called more than
once.
Found-by: James Almer <[email protected]>
CC: [email protected]
|
22ecfcd4c79cdf812fdf406525ddf0fd1f7114e4
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/22ecfcd4c79cdf812fdf406525ddf0fd1f7114e4
|
2015-07-23 09:53:55+02:00
|
avcodec/diracdec: Check for hpel_base allocation failure
Fixes null pointer dereference
Fixes: signal_sigsegv_b02a96_280_RL_420p_ffdirac.drc with memlimit of 67108864
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
1c5b712c0a643a039d6f34269b4102de313a050a
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/1c5b712c0a643a039d6f34269b4102de313a050a
|
2015-07-18 18:05:41+02:00
|
swresample/resample: speed up build_filter by 50%
This speeds up build_filter by ~ 50%. This gain should be pretty
consistent across all architectures and platforms.
Essentially, this relies on a observation that the filters have some
even/odd symmetry that may be exploited during the construction of the
polyphase filter bank. In particular, phases (scaled to [0, 1]) in [0.5, 1] are
easily derived from [0, 0.5] and expensive reevaluation of function
points are unnecessary. This requires some rather annoying even/odd
bookkeeping as can be seen from the patch.
I vaguely recall from signal processing theory more general symmetries allowing even greater
optimization of the construction. At a high level, "even functions"
correspond to 2, and one can imagine variations. Nevertheless, for the sake
of some generality and because of existing filters, this is all that is
being exploited.
Currently, this patch relies on phase_count being even or (trivially) 1,
though this is not an inherent limitation to the approach. This
assumption is safe as phase_count is 1 << phase_bits, and is hence a
power of two. There is no way for user API to set it to a nontrivial odd
number. This assumption has been placed as an assert in the code.
To repeat, this assumes even symmetry of the filters, which is the most common
way to get generalized linear phase anyway and is true of all currently
supported filters.
As a side note, accuracy should be identical or perhaps slightly better
due to this "forcing" filter symmetries leading to a better phase
characteristic. As before, I can't test this claim easily, though it may
be of interest.
Patch tested with FATE.
Sample benchmark (x86-64, Haswell, GNU/Linux):
test: swr-resample-dblp-44100-2626
new:
527376779 decicycles in build_filter(loop 1000), 256 runs, 0 skips
524361765 decicycles in build_filter(loop 1000), 512 runs, 0 skips
516552574 decicycles in build_filter(loop 1000), 1024 runs, 0 skips
old:
974178658 decicycles in build_filter(loop 1000), 256 runs, 0 skips
972794408 decicycles in build_filter(loop 1000), 512 runs, 0 skips
954350046 decicycles in build_filter(loop 1000), 1024 runs, 0 skips
Note that lower level optimizations are entirely possible, I focussed on
getting the high level semantics correct. In any case, this should
provide a good foundation.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
|
9bec6d71a22ab42908f900f3b3289fa1edfcea6e
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/9bec6d71a22ab42908f900f3b3289fa1edfcea6e
|
2015-11-04 17:05:57-05:00
|
tests/checkasm/checkasm: Give macro a body to avoid potential unexpected syntax issues
Signed-off-by: Michael Niedermayer <[email protected]>
|
a39512ba9e0c0f0e96d872af1c087f07322818fa
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/a39512ba9e0c0f0e96d872af1c087f07322818fa
|
2015-07-16 04:35:14+02:00
|
avcodec/dcadec: silence request_channels deprecation warnings
This also prevents an eventual compilation failure once request_channels
is removed.
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
a3b721d10ddfb759659ad00630c8b9dbde149a9c
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/a3b721d10ddfb759659ad00630c8b9dbde149a9c
|
2015-07-12 13:32:22-03:00
|
avcodec/pthread_frame: check avctx on deallocation
Fixes null pointer dereferences
Fixes: af1a5a33e67e479f439239097bd0d4fd_signal_sigsegv_7ffff713351a_152_Dolby_Rain_Logo.pmp with memlimit of 8388608
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
5d346feafa817c4fbc30f7ed0b93b2dad6cef15b
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/5d346feafa817c4fbc30f7ed0b93b2dad6cef15b
|
2015-07-13 22:09:50+02:00
|
avcodec/vp3: check current_frame before accessing it
Fixes null pointer dereference
Fixes: b15eb06e0111e94bc59123c86db7aff9_signal_sigsegv_a0500f_45_320vp3.nsv with allocation limit 536870912
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <[email protected]>
|
697160366fd101898ef0caeac96234a64137eaad
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/697160366fd101898ef0caeac96234a64137eaad
|
2015-07-13 19:11:56+02:00
|
avcodec/jpeg2000dwt: Move large arrays used in the test code away from the stack
This should avoid problems on systems with little stack space and fix some crashes
in fate
crash found-by: jamrial
Signed-off-by: Michael Niedermayer <[email protected]>
|
f067ee57c95d724ff795f8d6b0c6ba05010008f1
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/f067ee57c95d724ff795f8d6b0c6ba05010008f1
|
2015-06-22 23:18:47+02:00
|
avidec: check for valid bit_rate range
If bit_rate is negative, it can trigger an av_assert2 in av_rescale_rnd.
Since av_rescale returns int64_t, but st->codec_bit_rate is int, it can
also overflow into a negative value.
Signed-off-by: Andreas Cadhalpun <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
0eec40b713eee84e2aec8af35ccce059817cad2a
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0eec40b713eee84e2aec8af35ccce059817cad2a
|
2015-05-04 21:11:19+02:00
|
avcodec/hevc_ps: Explicitly check num_tile_* for negative values
This fixes nothing but maybe helps coverity which does not see that this is failing later
Signed-off-by: Michael Niedermayer <[email protected]>
|
65e5032955cb5022f0f39160aa3839f0799456bd
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/65e5032955cb5022f0f39160aa3839f0799456bd
|
2015-05-13 14:26:17+02:00
|
avformat/mpegts: reset last_ver on corrupted packets
Signed-off-by: Michael Niedermayer <[email protected]>
|
4b6be54bed27eb7fc8f005505ff38e71b3c86cec
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/4b6be54bed27eb7fc8f005505ff38e71b3c86cec
|
2015-05-01 02:13:26+02:00
|
avfilter/vf_detelecine: Fix uninitialized array index error
Fixes the defect CID 1292301
Signed-off-by: Michael Niedermayer <[email protected]>
|
0c9abf211931b1a5e3b5d1ebfac3d2214103ae2f
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/0c9abf211931b1a5e3b5d1ebfac3d2214103ae2f
|
2015-03-31 12:11:17+02:00
|
asfenc: fix leaking asf->index_ptr on error
Signed-off-by: Andreas Cadhalpun <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
|
2c8cff2be4a044c66e4904efa156dafd0d332d25
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/2c8cff2be4a044c66e4904efa156dafd0d332d25
|
2015-03-09 21:58:38+01:00
|
xcbgrab: Free the host string after checking the connection
Prevent an use after free in the error message.
Bug-Id: CID 1274040
CC: [email protected]
|
5f5b78aca35d07c771f5c4c73a984be9fe04a0b8
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/5f5b78aca35d07c771f5c4c73a984be9fe04a0b8
|
2015-03-08 14:39:01+01:00
|
avformat/movenc: Check for memory allocation failures
Fixes CID1271049
Signed-off-by: Michael Niedermayer <[email protected]>
|
3518925a9127e368b6d0c7e8fd86510d34af40a1
|
ffmpeg
|
devign
| 1 |
https://github.com/ffmpeg/ffmpeg
|
https://github.com/ffmpeg/ffmpeg/commit/3518925a9127e368b6d0c7e8fd86510d34af40a1
|
2015-02-22 20:20:13+01:00
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.