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
mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd Signed-off-by: Michael Niedermayer <[email protected]>
9e9b5159e9d7469421f7c7f126a9f7639a6a79b5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9e9b5159e9d7469421f7c7f126a9f7639a6a79b5
2012-09-27 19:43:31+02:00
lavf/utils: add error check in av_read_frame() In particular, fix crash when the input file contains no packets (e.g. an ffmeta input).
64d340c62ad5954c1a834df2d26057135e771774
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/64d340c62ad5954c1a834df2d26057135e771774
2012-09-24 00:41:13+02:00
lavfi/select: make sure avctx is set before closing it. This avoid a crash when the filter fails before config_input(), typically with a syntax error in the next filter: select=gt(scene\,.4),select=fail
b89c16e73eef30b7ce95bd455d9b419b383d9409
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b89c16e73eef30b7ce95bd455d9b419b383d9409
2012-09-18 18:52:57+02:00
ac3dec: fix uninitialized var warning This commit should be purely cosmetic Signed-off-by: Michael Niedermayer <[email protected]>
b3facc4af8110beabdcade75e8d753b511d0e8cf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b3facc4af8110beabdcade75e8d753b511d0e8cf
2012-08-30 05:17:24+02:00
h264: Check that the codec isn't null before accessing it This fixes crashes introduced by 2e8f3cbcda5, the codec can be null when called from parsers. Signed-off-by: Martin Storsjö <[email protected]>
6f5b1a2ba4cc568b3b8ae11b7dfd4a70fb891680
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6f5b1a2ba4cc568b3b8ae11b7dfd4a70fb891680
2012-08-28 18:15:38+03:00
h264: vdpau: fix crash with unsupported colorspace The h264_vdpau decoder crashed if output colorspace was not 8-bit 420. Add a check to error out instead (current hardware does not support other colorspaces, so successful decoding is not possible). Check implemented at a different place by michael, thus blame for bugs goes to michael Signed-off-by: Michael Niedermayer <[email protected]>
e70730045a22d053a64473df20886edfa4775e59
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e70730045a22d053a64473df20886edfa4775e59
2012-08-18 16:36:09+02:00
ARM: use Q/R inline asm operand modifiers only if supported Some compilers do not support the Q/R modifiers used to access the low/high parts of a 64-bit register pair. Check for this and disable all uses of it when not supported. Fixes bug #337. Signed-off-by: Mans Rullgard <[email protected]>
ec9d2c15c17ada4ebb5c8ca335a71a1f330dcaf9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ec9d2c15c17ada4ebb5c8ca335a71a1f330dcaf9
2012-08-07 21:13:30+01:00
amrwbdec: Decode the fr_quality bit properly The way this bit is decoded was accidentally flipped in b70feb405, leading to warnings "Encountered a bad or corrupted frame" for each decoded frame. Signed-off-by: Martin Storsjö <[email protected]>
ca00a7e809a4b9c9fb146403d278964b88d16b85
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ca00a7e809a4b9c9fb146403d278964b88d16b85
2012-08-17 20:08:40+03:00
mp3dec: adjust IMDCT scaling to avoid overflows Fixes ticket268 Signed-off-by: Michael Niedermayer <[email protected]>
571572fcddc16ebe3d60054ae5a2db05800c1d6d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/571572fcddc16ebe3d60054ae5a2db05800c1d6d
2012-08-02 04:21:53+02:00
zerocodec: fix direct rendering. Set picture type before calling get_buffer. This allows the DR application to make better decisions. It also fixes a resource leak in case of missing reference frames since it would call get_buffer but never release_buffer. Also use FFSWAP to ensure that the AVFrame is properly initialized in the next get_buffer (in particular that data[0] is NULL). Signed-off-by: Reimar Döffinger <[email protected]>
313d1981adc07b183b47ea156c14fd04e7a1a034
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/313d1981adc07b183b47ea156c14fd04e7a1a034
2012-07-21 21:11:37+02:00
x86: cabac: allow building with suncc This fixes two issues preventing suncc from building this code. The undocumented 'a' operand modifier, causing gcc to omit a $ in front of immediate operands (as required in addresses), is not supported by suncc. Luckily, the also undocumented 'c' modifer has the same effect and is supported. On some asm statements with a large number of operands, suncc for no obvious reason fails to correctly substitute some of the operands. Fortunately, some of the operands in these statements are plain numbers which can be inserted directly into the code block instead of passed as operands. With these changes, the code builds correctly with both gcc and suncc. Signed-off-by: Mans Rullgard <[email protected]>
8ec0204ee4ee93218c51a86d2faa24937c8108e7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8ec0204ee4ee93218c51a86d2faa24937c8108e7
2012-08-13 14:51:52+01:00
threads: fix a potential race spotted by helgrind.
55ed91c8565a3c562d2982e1cd5e66df06c6c190
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/55ed91c8565a3c562d2982e1cd5e66df06c6c190
2012-07-19 19:08:36+02:00
libfdk-aac: Check if cutoff value is valid Passing a cutoff value < sample_rate/256 will cause a crash. Also, values >20000 will have no effect and 20000 will be used anyway. Signed-off-by: Mohammad Alsaleh <[email protected]> Signed-off-by: Martin Storsjö <[email protected]>
c37c383e595eac67d174e6ac596d6deba8c7cfd6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c37c383e595eac67d174e6ac596d6deba8c7cfd6
2012-07-15 21:59:51+03:00
mathematics: Don't use division by zero in NAN/INFINITY macros Some compilers, MSVC among them, don't recognize the divisions by zero as meaning infinity/nan. These macros should, according to the standard, expand to constant expressions, but this shouldn't matter for our usage. Signed-off-by: Martin Storsjö <[email protected]>
a1245d5ca1bed154a3bf38843b63018ae3544115
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a1245d5ca1bed154a3bf38843b63018ae3544115
2012-07-01 19:06:13+03:00
lavc/imgconvert: fix check on av_image_check_size() return code in avpicture_get_size() The documentation states that av_image_check_size() will return a negative value in case of error, while the check is done on ret != 0. Also return a proper error code rather than -1 in case the check fails.
18b4404dc35eef67620066e11086048b933c2e4c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/18b4404dc35eef67620066e11086048b933c2e4c
2012-06-19 01:36:30+02:00
binkaudio: prevent extradata overread Signed-off-by: Paul B Mahol <[email protected]>
c2dd01c16fb13aed5f4896bbe14ea65db5d66862
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c2dd01c16fb13aed5f4896bbe14ea65db5d66862
2012-06-09 10:43:20+00:00
lavfi: af_amerge options array was not ended with NULL Add a NULL to prevent undefined behavior Signed-off-by: Michael Niedermayer <[email protected]>
f77a695d2e7c309823e69c6bf4078e5beaf61f13
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f77a695d2e7c309823e69c6bf4078e5beaf61f13
2012-06-15 11:22:05+02:00
mpegts_audio_write: fix potential integer overflow Signed-off-by: Michael Niedermayer <[email protected]>
328e203ca9b5e5afcd0769dae149075735150346
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/328e203ca9b5e5afcd0769dae149075735150346
2012-06-03 03:43:40+02:00
ffmpeg: avoid NULL dereference with filters. icodec can be NULL if there is no input stream clearly associated with the output stream.
48b5bcb3dd42bb0018850f41f7e090418e1b0dfb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/48b5bcb3dd42bb0018850f41f7e090418e1b0dfb
2012-06-03 23:43:57+02:00
jvdec: check videosize Fixes null ptr dereference fixes Ticket1364 Signed-off-by: Michael Niedermayer <[email protected]>
b4904e804d3b1c56ac4f5d3386b15daae98fca2d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b4904e804d3b1c56ac4f5d3386b15daae98fca2d
2012-05-28 17:24:13+02:00
movdec: Check count of stts/ctts elements instead of just the pointer. Fixes overreading the array Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
5880d788734d9c4e2dc53c6cdec343ee978d3a3f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5880d788734d9c4e2dc53c6cdec343ee978d3a3f
2012-05-29 19:56:07+02:00
rtmp: Read and handle incoming packets while writing data This makes sure all incoming packets are read and handled (and reacted to) while sending an FLV stream over RTMP to a server. If there were enough incoming data to fill the TCP buffers, this could potentially make things block at unexpected places. For the upcoming RTMPT support, we need to consume all incoming data before we can send the next request. Signed-off-by: Martin Storsjö <[email protected]>
7dc747f50b0adeaf2bcf6413e291dc4bffa54f9a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7dc747f50b0adeaf2bcf6413e291dc4bffa54f9a
2012-06-14 22:22:58+03:00
qdm2: clip array indices returned by qdm2_get_vlc(). Prevents subsequent overreads when these numbers are used as indices in arrays. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Justin Ruggles <[email protected]>
64953f67f98da2e787aeb45cc7f504390fa32a69
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/64953f67f98da2e787aeb45cc7f504390fa32a69
2012-05-07 13:08:36-04:00
matroska: Clear prev_pkt between seeks. The new incremental parser doesn't always clear prev_pkt, however the packet queue is cleared when seeking. Which leads to a use-after-free. Verified using Valgrind. Signed-off-by: Dale Curtis <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
7521c4bab28ff3a622171be5b39a6b210f4263f0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7521c4bab28ff3a622171be5b39a6b210f4263f0
2012-04-23 14:21:42-04:00
segment: reorder seg_write_header allocation As pointed by Paul B Mahol <[email protected]> the previous code could lead to null pointer dereference.
3b52e9da10158029edbd01bafe2235e653e6eaec
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3b52e9da10158029edbd01bafe2235e653e6eaec
2012-04-27 14:03:43-07:00
audemux: Check channels isnt 0 Fixes a division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
8aa57b7b5e06c1cd9dbb2e84e48caa0ef840c5dc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8aa57b7b5e06c1cd9dbb2e84e48caa0ef840c5dc
2012-04-22 15:34:15+02:00
mjpegbdec: check SOS/SOF ordering. Fixes null ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
9a4f5b76169a71156819dbaa8ee0b6ea25dc7195
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9a4f5b76169a71156819dbaa8ee0b6ea25dc7195
2012-04-22 14:58:28+02:00
ogm: Fix division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
9ed388f5985992a0a6a43fdc0b1732962b6b5619
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9ed388f5985992a0a6a43fdc0b1732962b6b5619
2012-04-18 15:30:34+02:00
asv1dec: check extradatasize before reading. Fixes null ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
605f2b6b004eee4dc57832257169ff8eaa562fb7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/605f2b6b004eee4dc57832257169ff8eaa562fb7
2012-04-22 12:16:29+02:00
latmenc: Fix ALS in LATM. "Fix" in so far as at least it will no longer overread and possibly crash and makes somewhat sense, but no idea whether there is anything that can play the resulting files (FFmpeg can't). Signed-off-by: Reimar Döffinger <[email protected]>
a736eb4a605f46d5ff96c7b32e55710ecd9cce89
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a736eb4a605f46d5ff96c7b32e55710ecd9cce89
2012-04-11 22:28:34+02:00
h264: add overread protection to get_cabac_bypass_sign_x86().
a0bdcb019e24f8a75ebef54289c4b8c015f77f41
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a0bdcb019e24f8a75ebef54289c4b8c015f77f41
2012-03-28 08:01:29-07:00
vc1dec: sanity check state used in get_mvdata_interlaced() Signed-off-by: Michael Niedermayer <[email protected]>
b378a233957bc05aa8e40cc88023c558aa45beba
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b378a233957bc05aa8e40cc88023c558aa45beba
2012-03-27 13:20:51+02:00
ffv1enc: Check context_model Fixes crash Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <[email protected]>
e01f478dd25ec64cce5064de361881e60c9db651
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e01f478dd25ec64cce5064de361881e60c9db651
2012-03-20 00:29:34+01:00
indeo4: Skip null frames. Fixes crashes from Ticket845 Signed-off-by: Michael Niedermayer <[email protected]>
572c0ddc89709035cb733da870aa50373ffbd7e1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/572c0ddc89709035cb733da870aa50373ffbd7e1
2012-03-18 14:07:32+01:00
png: convert to bytestream2 API. Protects against overreads in the input buffer. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
4c25269cedd042abcb823c42d33609564861c374
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4c25269cedd042abcb823c42d33609564861c374
2012-03-08 11:17:25-08:00
wmaenc: require a large enough output buffer to prevent overwrites The maximum theoretical frame size is around 17000 bytes. Although in practice it will generally be much smaller, we require a larger buffer just to be safe. CC: [email protected]
dfc4fdedf8cfc56a505579b1f2c1c5efbce4b97e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dfc4fdedf8cfc56a505579b1f2c1c5efbce4b97e
2012-03-03 18:20:10-05:00
mpegts: fix stack array overread in read_sl_header() Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
f83687bc78bea7ede4859d363c24a28f0473a5db
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f83687bc78bea7ede4859d363c24a28f0473a5db
2012-03-03 21:03:11+01:00
Fix format string vulnerability detected by -Wformat-security. Signed-off-by: Diego Biurrun <[email protected]>
c9dbac36ad4bac07f6c1d06d465e361ab55bcb95
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c9dbac36ad4bac07f6c1d06d465e361ab55bcb95
2012-03-05 17:03:00+01:00
FATE: add mp3 test for sample that exhibited false overreads related to b7165426917f91ebcad84bdff366824f03b32bfe Error messages and audible artifacts were fixed in that commit.
841c17177b36db48554a2eda134d4c4134afa3c7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/841c17177b36db48554a2eda134d4c4134afa3c7
2012-02-29 15:12:18-05:00
lavfi/abuffer: init the data planes with NULL pointers. Samples buffer ref is allocated and loaded with the uninitialized data pointers: av_asrc_buffer_add_buffer() -> av_asrc_buffer_add_samples() -> avfilter_get_audio_buffer_ref_from_arrays(data, ...) ...which leads to a crash with at least lavfi/ashowinfo in case of !NULL (see the for loop while samplesref->data[plane]).
241f8465d07ecc0696bcda994a1f44d836b8809c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/241f8465d07ecc0696bcda994a1f44d836b8809c
2012-02-21 16:45:34+01:00
swscale: make access to filter data conditional on filter type. Prevents crashes on 1-tap filter (unscaled). Also rename "bguf" argument to "vbuf", seems that was a typo.
1bab6f852c7ca433285d19f65c701885fa69cc57
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1bab6f852c7ca433285d19f65c701885fa69cc57
2012-02-17 10:31:15-08:00
r3d: Check return value of avio_seek and avoid modifying state if it fails Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
c7b08bc0a71f9e54e0d5036a8195648b41bd3933
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c7b08bc0a71f9e54e0d5036a8195648b41bd3933
2012-02-10 15:27:49-05:00
mpc8: Check return value of avio_seek and avoid modifying state if it fails Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
97aa092997cab8f8f337548a7c85b7fde09b4cdf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/97aa092997cab8f8f337548a7c85b7fde09b4cdf
2012-02-10 15:27:49-05:00
vorbis: fix overflows in floor1[] vector and inverse db table index.
24947d4988012f1f0fd467c83418615adc11c3e8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/24947d4988012f1f0fd467c83418615adc11c3e8
2012-02-02 12:05:08-08:00
nsvdec: Propagate errors Related to CVE-2011-3940. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
c898431ca5ef2a997fe9388b650f658fb60783e5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c898431ca5ef2a997fe9388b650f658fb60783e5
2012-01-30 10:15:41-08:00
bink: Check return value of avio_seek and avoid modifying state if it fails Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
3371e89640eb519edf0ca8695f370867e55040d0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3371e89640eb519edf0ca8695f370867e55040d0
2012-02-10 15:27:49-05:00
h264_sei: Fix infinite loop. Fixes not yet fixed parts of CVE-2011-3946. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
9decfc17bb76da34734296048d390b176abf404c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9decfc17bb76da34734296048d390b176abf404c
2012-01-26 19:54:38+01:00
indeo5: prevent null pointer dereference on broken files Found by John Villamil <[email protected]>
366ac22ea5a8bab63c7f46cdad2ddb2ff22cdbed
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/366ac22ea5a8bab63c7f46cdad2ddb2ff22cdbed
2012-01-25 14:31:57+01:00
Check for overread in vqa video decoder. This issue was discovered while decoding the FATE sample vqa/ws_snd.vqa. For some unknown reason only audio decoding is tested by FATE for that file, but not video. Signed-off-by: Reimar Döffinger <[email protected]>
427802324098eff19b307b486179b56d8b50b9a8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/427802324098eff19b307b486179b56d8b50b9a8
2012-01-05 22:24:51+01:00
id3v2: fix compiler warning for uninitialized variables Signed-off-by: Jean First <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
acc88f07d49fdc650eff880806a9f8387a9abbbf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/acc88f07d49fdc650eff880806a9f8387a9abbbf
2011-12-31 17:15:31+01:00
indeo5: fix null pointer crash with ref_mb Signed-off-by: Michael Niedermayer <[email protected]>
4b35ee0b7c0c4cbac3541a25a5e8c00b657c8f95
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4b35ee0b7c0c4cbac3541a25a5e8c00b657c8f95
2011-12-28 19:55:42+01:00
vp3dec: Check coefficient index in vp3_dequant() Based on a patch by Michael Niedermayer <[email protected]> Fixes NGS00145, CVE-2011-4352 Found-by: Phillip Langlois Signed-off-by: Reinhard Tartler <[email protected]>
8b94df0f2047e9728cb872adc9e64557b7a5152f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8b94df0f2047e9728cb872adc9e64557b7a5152f
2011-12-23 15:42:24+01:00
ra144enc: zero the reflection coeffs if the filter is unstable fixes use of uninitialized values if the filter is still unstable after using the previous frame lpc coefficients.
9a3f10695a011861dcf5a649e3e72580b1a4eed4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9a3f10695a011861dcf5a649e3e72580b1a4eed4
2011-12-22 08:31:07-05:00
adpcm: Fix crash Fixes half of Ticket794 Bug found by: Oana Stratulat Signed-off-by: Michael Niedermayer <[email protected]>
608708009f69ba4cecebf05120c696167494c897
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/608708009f69ba4cecebf05120c696167494c897
2011-12-19 04:09:23+01:00
swscale: fix overflows in output of RGB48 pixels. For certain types of filters where the intermediate sum of coefficients can go above the fixed-point equivalent of 1.0 in the middle of a filter, the sum of a 31-bit calculation can overflow in both directions and can thus not be represented in a 32-bit signed or unsigned integer. To work around this, we subtract 0x40000000 from a signed integer base, so that we're halfway signed/unsigned, which makes it fit even if it overflows. After the filter finishes, we add the scaled bias back after a shift. We use the same trick for 16-bit bpc YUV output routines. Signed-off-by: Mans Rullgard <[email protected]>
be1bafc303a77fa9ca5a99e36a65d5765012d3f4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/be1bafc303a77fa9ca5a99e36a65d5765012d3f4
2011-12-17 18:36:20+00:00
txddemux: Limit allocated packets to filesize. Fixes Ticket772 Bug found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <[email protected]>
f72601d06378494b5026b919fcd3eb5eb22799a1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f72601d06378494b5026b919fcd3eb5eb22799a1
2011-12-16 06:02:56+01:00
h263dec: Fix regression / crash with lowres. Fixes Ticket757 Bug Found by: ami_stuff Signed-off-by: Michael Niedermayer <[email protected]>
21270cffaeab2f67a613907516b2b0cd6c9eacf4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/21270cffaeab2f67a613907516b2b0cd6c9eacf4
2011-12-15 04:59:21+01:00
Use an int MotionVector for find_block_motion. Using the double variant causes several pointless conversions between double and int. Worse, one of the conversions is in an inner loop together with a function using MMX, resulting in undefined behaviour. Based on debugging by Ray Simard. Signed-off-by: Reimar Döffinger <[email protected]> Tested-by: Ray Simard <[email protected]>
7cbb32e461cdbe8b745d560c1700c711ba5933cc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7cbb32e461cdbe8b745d560c1700c711ba5933cc
2012-01-12 20:09:16+01:00
pthread: don't increment index on zero-sized packets. The next call to decode() will update from an invalid index, which will either lead to a memcpy() where dest==src (2 threads), or lead to a crash (>2 threads). Signed-off-by: Ronald S. Bultje <[email protected]>
39a7a5b8ab12bc75306f52e671dfb1497771553b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/39a7a5b8ab12bc75306f52e671dfb1497771553b
2011-11-28 20:30:30-08:00
tta: better check for totalframes. Avoids crash, Fixes Ticket 690 Signed-off-by: Michael Niedermayer <[email protected]>
b7c7eae7d995b54765c3d7a027cd8b542f777fa1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b7c7eae7d995b54765c3d7a027cd8b542f777fa1
2011-11-27 15:37:15+01:00
imgutils: Fix illegal read. Found with address sanitizer. Signed-off-by: Alex Converse <[email protected]>
c693aa6f71b4f539cf9df67ba42f4b1932981687
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c693aa6f71b4f539cf9df67ba42f4b1932981687
2011-11-18 17:42:49-08:00
vp5: Fix illegal read. Found with Address Sanitizer
bb4b0ad83b13c3af57675e80163f3f333adef96f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bb4b0ad83b13c3af57675e80163f3f333adef96f
2011-11-17 11:58:49-08:00
sunrast: Check for invalid/corrupted bitstream Signed-off-by: Janne Grunau <[email protected]>
2305742b2a0fd64cccbdfe12c9e90555c8bb798e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2305742b2a0fd64cccbdfe12c9e90555c8bb798e
2011-11-10 12:32:26+01:00
vp3: fix oob read for negative tokens and memleaks on error.
8370e426e42f2e4b9d14a1fb8107ecfe5163ce7f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8370e426e42f2e4b9d14a1fb8107ecfe5163ce7f
2011-10-28 23:50:04-07:00
prores-idct: fix overflow in c code. Fix the fate ref for prores-422_proxy by reverting the changes to it in commit f492df0927c42da174edb674857670fc50abc5dc Signed-off-by: Janne Grunau <[email protected]>
f78cd0c243b9149c7f604ecf1006d78e344aa6ca
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f78cd0c243b9149c7f604ecf1006d78e344aa6ca
2011-10-14 21:34:20+02:00
eamad: check for out of bound reads when doing MC Signed-off-by: Michael Niedermayer <[email protected]>
da35797359cec148f3fe59894c62727b0422d75a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/da35797359cec148f3fe59894c62727b0422d75a
2011-10-09 03:08:03+02:00
eamad: avoid NULL derefence when missing the reference frame. Signed-off-by: Michael Niedermayer <[email protected]>
6e20554a6d33e92b81dc3cfed6082e03bff2a7f8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6e20554a6d33e92b81dc3cfed6082e03bff2a7f8
2011-10-09 03:08:03+02:00
dsicinav: Check for out of bounds reads Signed-off-by: Janne Grunau <[email protected]>
e3ca9b93d9f464861638dda3280fcf65e402466a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e3ca9b93d9f464861638dda3280fcf65e402466a
2011-10-07 16:25:31+02:00
vc1: disable parts of the interlaced code due to security issues. Signed-off-by: Michael Niedermayer <[email protected]>
1e4d60353cdb50619bc39d78f84afe961d013fae
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1e4d60353cdb50619bc39d78f84afe961d013fae
2011-10-11 03:42:51+02:00
Fix out of bound reads in the QDM2 decoder. Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
5a19acb17ceb71657b0eec51dac651953520e5c8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5a19acb17ceb71657b0eec51dac651953520e5c8
2011-10-03 21:34:19-04:00
Check for out of bound reads in PTX decoder. Signed-off-by: Michael Niedermayer <[email protected]>
581898ae882dc37967b689b6ea5f2b2a9acd257a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/581898ae882dc37967b689b6ea5f2b2a9acd257a
2011-10-02 03:24:17+02:00
Check for out of bound reads in AVS decoder. Signed-off-by: Michael Niedermayer <[email protected]>
7afe9e5638242a3210a0fc378e34e3af41e29176
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7afe9e5638242a3210a0fc378e34e3af41e29176
2011-10-01 02:41:39+02:00
Check for out of bound writes in the avs demuxer. Signed-off-by: Michael Niedermayer <[email protected]>
5d44c061cf511d97be5fac8d76be2f3915c6e798
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5d44c061cf511d97be5fac8d76be2f3915c6e798
2011-10-01 02:41:39+02:00
Fixed out of bound accesses in xan_unpack() of the xan decoder. Signed-off-by: Michael Niedermayer <[email protected]>
5279141c1d7a72c467b7e0666fc2275cbcec4668
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5279141c1d7a72c467b7e0666fc2275cbcec4668
2011-09-29 06:11:18+02:00
j2kenc: fix coded_frame and prevent null pointer dereference. Signed-off-by: Michael Niedermayer <[email protected]>
e6aed5f404a0983b2971c90e9022f6964a75de0b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e6aed5f404a0983b2971c90e9022f6964a75de0b
2011-09-27 19:30:19+02:00
fft: avoid a signed overflow As a signed integer, 1<<31 overflows, so force it to unsigned. Signed-off-by: Alex Converse <[email protected]>
c2d3f561072132044114588a5f56b8e1974a2af7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c2d3f561072132044114588a5f56b8e1974a2af7
2011-09-23 17:02:58-07:00
h264: allow disabling bitstream overread protection by using the fast flag. Signed-off-by: Michael Niedermayer <[email protected]>
205c13685f36a17f406b7cd07e14b6d2a61f396a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/205c13685f36a17f406b7cd07e14b6d2a61f396a
2011-09-14 20:48:00+02:00
Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080. Whitespace of the patch cleaned up by Aurel Some of the issues have been reported by Steve Manzuik / Microsoft Vulnerability Research (MSVR) Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 956c901c68eff78288f40e3c8f41ee2fa081d4a8) Further suggestions from Kostya <[email protected]> have been implemented by Reinhard Tartler <[email protected]> Signed-off-by: Reinhard Tartler <[email protected]>
77d2ef13a8fa630e5081f14bde3fd20f84c90aec
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/77d2ef13a8fa630e5081f14bde3fd20f84c90aec
2011-09-27 23:14:05+02:00
[yop] Check return value of avio_seek and avoid modifying state if it fails
5d7053680479a75562258c010715761c4285fd7f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5d7053680479a75562258c010715761c4285fd7f
2011-09-14 19:53:45+02:00
Fix writes out of bounds in the ogg demuxer. Between ogg_save() and ogg_restore() calls, the number of streams could have been reduced. Signed-off-by: Michael Niedermayer <[email protected]>
bc851a2946c64eefb96145b70e2190ff7d5a4827
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bc851a2946c64eefb96145b70e2190ff7d5a4827
2011-09-12 04:39:12+02:00
Prevent double free of side_data when AVFMT_FLAG_KEEP_SIDE_DATA flag is set
d64066f6e88c827e33002b2c7740efd62cd5ba7f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d64066f6e88c827e33002b2c7740efd62cd5ba7f
2011-09-08 23:47:23+02:00
Fixed invalid access in wavpack decoder on corrupted extra bits sub-blocks. Signed-off-by: Martin Storsjö <[email protected]>
beefafda639dd53fc59c21d8a7cf8334da9a1062
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/beefafda639dd53fc59c21d8a7cf8334da9a1062
2011-09-08 11:57:13+03:00
lavfi: port boxblur filter from libmpcodecs With the following additions: * support to gray format * support to yuva420p format * parametric luma/chroma/alpha radius * consistency check on the radius values, avoid crashes with invalid values
6b61920ab76dc6d85ef462909951923935dd643f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6b61920ab76dc6d85ef462909951923935dd643f
2011-07-14 00:00:31+02:00
avpacket: signal possibly corrupted packets Use AV_PKT_FLAG_CORRUPT flag to mark packets that might be incomplete or have errors. Formats that have a mean to validate their packets should use this flag to deliver such information instead of silently dropping the packets.
9d39cbf6cfecfda88e2f822b0437ee22ffa6d745
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9d39cbf6cfecfda88e2f822b0437ee22ffa6d745
2011-08-02 02:19:31+02:00
asfdec: fix possible overread on broken files.
29fa570d0c74c59a4a970f5ade9fbd126314cbd9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/29fa570d0c74c59a4a970f5ade9fbd126314cbd9
2011-05-17 22:06:00+02:00
dfa: fix buffer overflow checks to avoid integer overflows. Signed-off-by: Anton Khirnov <[email protected]>
2c9a5172d328259c5d76e588f2ddc12f439ffcd0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2c9a5172d328259c5d76e588f2ddc12f439ffcd0
2011-05-13 07:38:54+02:00
Revert "asfdec: fix assert failure on invalid files" Reverting this pulled change as author considers this change buggy compared to his original version. This reverts commit 0bd433a916cd8d98fce47742fbf6d0f90ec941c4.
10291562f37d00fb3fb78ec86e0353e474c0eccc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/10291562f37d00fb3fb78ec86e0353e474c0eccc
2011-05-12 16:04:13+02:00
aacdec: add decode_channel_map overread check All decode_channel_map calls together can easily read more data than the amount of padding available. Thus below patch adds an input length check before reading them. Fixes some invalid reads with sample from http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1138
6fd00e9dd94ac3aecf4fa14ca6fa23c395215ac9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6fd00e9dd94ac3aecf4fa14ca6fa23c395215ac9
2011-05-07 18:08:46+02:00
ffv1: fix undefined behavior with insane widths. The new tables is large enough to prevent this together with our image size checks. Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
294e5475c2cf4bb7a0db34931515fddc5732c266
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/294e5475c2cf4bb7a0db34931515fddc5732c266
2011-06-13 20:42:14+02:00
Fix undefined behavior in ffv1 with insane widths. The new tables is large enough to prevent this together with our image size checks. Signed-off-by: Michael Niedermayer <[email protected]>
676d380f2adda2fdd5170e89b95bb9a112c3d18f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/676d380f2adda2fdd5170e89b95bb9a112c3d18f
2011-04-01 12:49:52+02:00
Fix invalid reads in VC1 decoder Patch discussed and taken from https://roundup.ffmpeg.org/issue2584
2bbec1eda46d907605772a8b6e8263caa4bc4c82
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2bbec1eda46d907605772a8b6e8263caa4bc4c82
2011-02-19 11:33:01+01:00
Free AVStream->info in chained muxers This fixes memory leaks in the RTSP muxer and RTP hinting in the mov muxer present since SVN rev 25418. Signed-off-by: Luca Barbato <[email protected]> (cherry picked from commit ce41c51b0c71c87f623914ba0786aef325d818fe)
d0d8a9b1384ba3cd465d6ef3439f3979d4518b4b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d0d8a9b1384ba3cd465d6ef3439f3979d4518b4b
2011-02-04 03:10:10+01:00
prevent integer overflow in calculating duration Signed-off-by: Martin Storsjö <[email protected]>
b79c3df08807c96a945d9cea21c5d923c464d622
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b79c3df08807c96a945d9cea21c5d923c464d622
2011-01-17 17:05:58+02:00
In gif encoder, fix uninitialized value, patch by Clément Bœsch, ubitux at gmail dot com Originally committed as revision 26303 to svn://svn.ffmpeg.org/ffmpeg/trunk
c56e71309ec1a585ed4d4dc11ae0ba3ca7d19618
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c56e71309ec1a585ed4d4dc11ae0ba3ca7d19618
2011-01-10 21:14:54+00:00
Add memory allocation failure checks to ff_iir_filter_init_coeffs(). Signed-off-by: Mans Rullgard <[email protected]> (cherry picked from commit d42dc217ed2b0f886ffc50b26c2bbff1fee5feca)
20d1f6fec1aa2a33c4cf8162e72ca88ead3d389d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/20d1f6fec1aa2a33c4cf8162e72ca88ead3d389d
2011-01-21 20:36:01+01:00
Add missing overflow checks in av_image_fill_pointers() and av_image_fill_linesizes(). Originally committed as revision 25861 to svn://svn.ffmpeg.org/ffmpeg/trunk
9398024c048092786f1dcf0809fb55bdbf96a70f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9398024c048092786f1dcf0809fb55bdbf96a70f
2010-12-02 19:49:55+00:00
Add missing check on the existence of avcodec_opts[AVMEDIA_TYPE_X], fix crash in ffprobe. Originally committed as revision 25799 to svn://svn.ffmpeg.org/ffmpeg/trunk
819e2ab0d8d65cee0e95c89c0a4eb77aa8237c75
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/819e2ab0d8d65cee0e95c89c0a4eb77aa8237c75
2010-11-22 22:03:21+00:00
Fix FFv1 decoder buffer releasing. Previously it was releasing the buffer which was returned to the user, which was resulting in a crash in case of direct rendering. Originally committed as revision 25678 to svn://svn.ffmpeg.org/ffmpeg/trunk
58b4e5407d05164f1874ffb32612237253411093
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/58b4e5407d05164f1874ffb32612237253411093
2010-11-04 22:45:46+00:00
Add validity checks for the unsharp filter. Prevent crash. Originally committed as revision 25419 to svn://svn.ffmpeg.org/ffmpeg/trunk
74d127b537d18cc9a2bf2b556900705f7b2af2be
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/74d127b537d18cc9a2bf2b556900705f7b2af2be
2010-10-08 23:36:35+00:00
Fix buffer overrun if idx is negative (it can be down to -23>>4), by prepending two padding zeroes before it. Should fix fate failures on openBSD and crashes on MacOSX (that I cannot reproduce). Originally committed as revision 24750 to svn://svn.ffmpeg.org/ffmpeg/trunk
af0a61cc4045fcd4e875799aac93711be95ed660
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/af0a61cc4045fcd4e875799aac93711be95ed660
2010-08-09 13:54:59+00:00