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
avrndec: calculate true_height only when used. Fixes division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b1191331363c444c0eaba0055cc7379221ddf8d7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b1191331363c444c0eaba0055cc7379221ddf8d7
2012-11-13 22:03:21+01:00
theora: check that pix fmt is valid, fix null ptr deref Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
d1493d2ce5f598016adff8cda8484529a560fb0d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d1493d2ce5f598016adff8cda8484529a560fb0d
2012-11-12 18:12:17+01:00
diracdec: Use only one frame per reference Prevents null ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
0a4087b8930d283aeec0aaf15d9991b6b1765597
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0a4087b8930d283aeec0aaf15d9991b6b1765597
2012-11-11 16:43:53+01:00
h264: fix invalid pointer arithmetic Subtracting a (positive) value from the address of an array violates C99 section 6.5.6: If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined. Signed-off-by: Mans Rullgard <[email protected]>
c4cccc8d3f6605c5fdd73723a865486c5b7fb117
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c4cccc8d3f6605c5fdd73723a865486c5b7fb117
2012-10-27 17:02:46+01:00
lavf/webvttdec: fix potential timing overflows. Should fix CID733781 and CID733782.
99a520000d376d60cd30fae97bfaaf13d50ee26c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/99a520000d376d60cd30fae97bfaaf13d50ee26c
2012-10-21 01:16:49+02:00
matroskaenc: Fix hypothetical integer overflows Fixes CID700562-7 Signed-off-by: Michael Niedermayer <[email protected]>
dd84efe3c76a5ebf3db254b02870edd193d1a1e7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dd84efe3c76a5ebf3db254b02870edd193d1a1e7
2012-10-20 19:05:15+02:00
utvideoenc: fix theoretical integer overflow The image sizes needed for this overflow to happen are currently not supported in lavc, thus this should have no effect execpt making the code more robust in light of future changes. Fixes CID732245 Signed-off-by: Michael Niedermayer <[email protected]>
0fa26bd4703cf8ee84ae9b9859be2b4e0e77d42f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0fa26bd4703cf8ee84ae9b9859be2b4e0e77d42f
2012-10-19 18:57:57+02:00
j2kdec: make curtilenum integer. This fixes a potential crash. Signed-off-by: Michael Niedermayer <[email protected]>
1e6cbb01e9119a731c68be97bec27865b8ba986c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1e6cbb01e9119a731c68be97bec27865b8ba986c
2012-10-14 22:16:31+02:00
avoid "0xFF << 24" as it is considered a integer overflow in C99 Signed-off-by: Michael Niedermayer <[email protected]>
b12d92efd6c0d48665383a9baecc13e7ebbd8a22
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b12d92efd6c0d48665383a9baecc13e7ebbd8a22
2012-10-14 03:26:31+02:00
drawtext: fix leak with timecodes Fixes CID733799 Signed-off-by: Michael Niedermayer <[email protected]>
7457da3698c641212bb921cfb0aa0e7853fdda48
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7457da3698c641212bb921cfb0aa0e7853fdda48
2012-10-11 16:45:50+02:00
wmavoice: initialize best_hist_ptr to NULL to prevent (incorrect) warning. As a sideeffect this makes the code more robust if a future change leaves a path where it may be uninitialized otherwise. Signed-off-by: Michael Niedermayer <[email protected]>
d5fd610dabb4c7a6f63d4479e66c93c37339b6c0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d5fd610dabb4c7a6f63d4479e66c93c37339b6c0
2012-09-19 18:33:30+02:00
avformat: refactor avformat_close_input Do not crash if the input format is not allocated yet.
44272c1cccfb92415801ae60693a7ed04e458916
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/44272c1cccfb92415801ae60693a7ed04e458916
2012-09-14 14:26:27+02:00
mpegtsenc: add forgotten () Fixes integer overflow Signed-off-by: Michael Niedermayer <[email protected]>
b3b27b63a00dca3fee1377730baa368045be692c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b3b27b63a00dca3fee1377730baa368045be692c
2012-09-10 20:57:23+02:00
escape124: fix integer overflow leading to excessive memory allocation Fixes Ticket1629 Signed-off-by: Michael Niedermayer <[email protected]>
3d7817048cb387de87600f2152075f78b37b60a6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3d7817048cb387de87600f2152075f78b37b60a6
2012-08-16 22:28:29+02:00
paf: prevent invalid write Closes #1631. Signed-off-by: Paul B Mahol <[email protected]>
bd70a527129a1c049a8ab38236bf87f7d459df10
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bd70a527129a1c049a8ab38236bf87f7d459df10
2012-08-13 12:27:58+00:00
configure: Check for a sctp struct instead of just the header This fixes build failures on debian/kfreebsd, which has the sctp.h header, but it is currently broken (a cpp test succeeds, but a compile test fails), see http://bugs.debian.org/684330 for details. Also remove the checked item from HAVE_LIST, since the corresponding HAVE_* define isn't used by the source code. Signed-off-by: Martin Storsjö <[email protected]>
83c93fe74af013a1c376a39ee28759c89c483542
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/83c93fe74af013a1c376a39ee28759c89c483542
2012-08-09 22:22:38+03:00
matroskadec: fix a sanity check.
87b017a298c12b9a2451276649f3932358b943fc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/87b017a298c12b9a2451276649f3932358b943fc
2012-09-21 09:15:07+02:00
dpx: Make start offset unsigned Some corrupted files would end up with a negative offset, and segfault. Fixes bug #177. Signed-off-by: Derek Buitenhuis <[email protected]>
965efc1673074ac1e6c28177a4718ed84f89ac83
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/965efc1673074ac1e6c28177a4718ed84f89ac83
2012-08-05 12:44:30-04:00
dsputil: make add_hfyu_left_prediction_sse4() support unaligned src. This makes add_hfyu_left_prediction_sse4() handle sources that are not 16-byte aligned in its own function rather than by proxying the call to add_hfyu_left_prediction_ssse3(). This fixes a crash on Win64, since the sse4 version clobberes xmm6, but the ssse3 version (which uses MMX regs) does not restore it, thus leading to XMM clobbering and RSP being off. Fixes bug 342.
da6505ad2fc8ef045401a3d9f980586ac5cf808c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/da6505ad2fc8ef045401a3d9f980586ac5cf808c
2012-08-03 11:09:14-07:00
probe_codec: fix memory corruption Found-by: Tanami Ohad Signed-off-by: Michael Niedermayer <[email protected]>
9054f6b66b3883d615177c738cb69c6337c4375c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9054f6b66b3883d615177c738cb69c6337c4375c
2012-07-26 01:10:55+02:00
wav: init st to NULL to avoid a false-positive warning. If st is NULL, it means no 'fmt ' tag is found, but 'data' tag (which needs a previous 'fmt ' tag to be parsed correctly and st initialized) check will make sure st is never dereferenced in that case. Fixes warning: libavformat/wav.c: In function ‘wav_read_header’: libavformat/wav.c:499:44: warning: ‘st’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Derek Buitenhuis <[email protected]>
61884b9d1b6be16dbbfae6700cf8628e037ea28b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/61884b9d1b6be16dbbfae6700cf8628e037ea28b
2012-07-23 11:34:08-04:00
ffprobe: only decode frame if the codec is available Fix crash when a stream codec is unknown, in particular fix trac ticket #1243.
5626e812d2c1c202f749824905b70cdb8a845e7b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5626e812d2c1c202f749824905b70cdb8a845e7b
2012-07-15 15:57:11+02:00
avfiltergraph: shut up uninitialized variable warning. The warning silenced was: libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’: libavfilter/avfiltergraph.c:500:13: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized]
61d158c321a82ec7bfc46ce480997797e8048b85
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/61d158c321a82ec7bfc46ce480997797e8048b85
2012-06-26 19:10:17+02:00
lavc/libschroedinger: add missing failure checks in ff_create_schro_frame()
5793a6d9f9b35723f4aaeba68630f63b45d915f8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5793a6d9f9b35723f4aaeba68630f63b45d915f8
2012-06-19 16:44:34+02:00
lavfi/audio: use av_samples_copy() instead of custom code. Fixes a possible invalid write, found by Nicolas George.
9cdf74f904f76b2a1da474a2290c7e9ed34dd431
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9cdf74f904f76b2a1da474a2290c7e9ed34dd431
2012-06-13 13:58:58+02:00
vorbis: Validate that the floor 1 X values contain no duplicates. Duplicate values in this vector are explicitly banned by the Vorbis I spec and cause divide-by-zero crashes later on.
ecf79c4d3e8baaf2f303278ef81db6f8407656bc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ecf79c4d3e8baaf2f303278ef81db6f8407656bc
2012-06-05 09:51:51-07:00
ffmpeg: fix a crash with complex filters when pix_fmt is not specified ffmpeg -i in.mxf -filter_complex "[0:0]fieldorder=tff" out.wav will fail with an error message instead of crashing. Signed-off-by: Michael Niedermayer <[email protected]>
432fe9a38afca9104c1c11942d21739e2a48ba96
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/432fe9a38afca9104c1c11942d21739e2a48ba96
2012-05-20 19:36:00+02:00
lavc: implement accessors for some AVFrame fields. Compared to av_opt_ptr, accessors bring: - better performance (negligible); - compile-time type check; - link-time existence check (or at worst, a dynamic linker error instead of a NULL dereference).
e296f1b1c4f0b8d4d33f83036a80fd602aca7dea
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e296f1b1c4f0b8d4d33f83036a80fd602aca7dea
2012-05-03 18:47:16+02:00
libstagefright: avoid memory leak
f51b7e52a6b31e98a82ce48dddac9cabc1e62e04
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f51b7e52a6b31e98a82ce48dddac9cabc1e62e04
2012-04-19 03:00:41+05:30
xan: check for vector_segment overread Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b1096b6ee7d51c8e2b900af375b3f14194241ac2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b1096b6ee7d51c8e2b900af375b3f14194241ac2
2012-04-15 16:06:52+02:00
cmdutils: fix "oswr may be used uninitialized" warning Signed-off-by: Michael Niedermayer <[email protected]>
41a052a6badc9ed672a810a40b8e54af5d093b5d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/41a052a6badc9ed672a810a40b8e54af5d093b5d
2012-04-13 18:38:10+02:00
oggparsevorbis: Remove code messing with cur_dts. This code caused first_dts to become corrupt and in value to be around relative_ts. Signed-off-by: Michael Niedermayer <[email protected]>
ca4a3f4a08de04344e5cb16b506564969a43ed7e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ca4a3f4a08de04344e5cb16b506564969a43ed7e
2012-04-11 14:56:02+02:00
vf_drawtext: fix memory leak of draw expression.
be9b0d2c5a5e22fcc10467400e95a5ee4524ff07
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/be9b0d2c5a5e22fcc10467400e95a5ee4524ff07
2012-04-10 15:16:12+02:00
Mark GRAY8 format as pseudo-paletted. This fixes that the GIF encoder crashes with it because it has no palette. And the arguments for the pseudopalette apply to gray8 as much as to RGB8 etc. In addition the changes required in lavfi should be needed anyway when adding support for RGB8 etc. Signed-off-by: Reimar Döffinger <[email protected]>
24eac3cff54a5828ba76bc1ad93b99724cde45c1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/24eac3cff54a5828ba76bc1ad93b99724cde45c1
2012-04-09 17:21:35+02:00
movenc: add some default cases. This fixes crashes when copying a data track as in trac issue #236. No proper timecode tracks will be written though. Signed-off-by: Reimar Döffinger <[email protected]>
40393ac568db345b0388e1c99fc89f41a5b08037
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/40393ac568db345b0388e1c99fc89f41a5b08037
2012-03-31 12:37:42+02:00
avcodec_encode_{audio,video}: only reallocate output packet when it has non-zero size. Otherwise realloc would free it, which would result in double free later.
3c6607eb6f946ed3e108db3f0694cab7e5a5df7e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3c6607eb6f946ed3e108db3f0694cab7e5a5df7e
2012-03-28 09:28:47+02:00
Add nellymoser "fuzzy" FATE test. Since we cannot specify decode parameters (and also because it is better in principle) the 1-channel reference file needs to be enabled, too. Signed-off-by: Reimar Döffinger <[email protected]>
58c25724b7f921fdf3657fcb011b3bb3b7b353d4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/58c25724b7f921fdf3657fcb011b3bb3b7b353d4
2012-04-08 02:43:56+02:00
pthread : Remove lock/unlock pairs in worker loop to avoid unexpected state changes. Reviewed-by: Reimar Döffinger <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
aa9c2e41b6467136836e1b4d19ee39c7fe0b838e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aa9c2e41b6467136836e1b4d19ee39c7fe0b838e
2012-03-26 00:09:50+02:00
aac: Reset PS parameters on header decode failure. If the next header frame codes zero envelopes the previous frame's values will be used. Consequently the invalid values must be cleared. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
a237b38021cd3009cc78eeb974b596085f2fe393
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a237b38021cd3009cc78eeb974b596085f2fe393
2012-03-23 14:56:44-07:00
vqa: check palette chunk size before reading data. Prevents overreads beyond buffer boundaries. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
75d7975268394f4f16294b68ec6d6d5ac30da3ac
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/75d7975268394f4f16294b68ec6d6d5ac30da3ac
2012-03-22 12:17:14-07:00
wmalossless: reset sample pointer for each subframe. Prevents overwrites when some subframes only encode some channels. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
d462949974668ffb013467d12dc4934b9106fe19
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d462949974668ffb013467d12dc4934b9106fe19
2012-03-22 12:17:14-07:00
avconv: check for get_filtered_frame() failure.
ce326c11308c380f30e580cb05e6e210b6344fc7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ce326c11308c380f30e580cb05e6e210b6344fc7
2012-03-15 09:00:55+01:00
assdec: avoid a possible NULL dereference.
e5dd4ae7284bb290d8dc8e9cd3f2e035d1d77cd0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e5dd4ae7284bb290d8dc8e9cd3f2e035d1d77cd0
2012-03-07 16:41:30+01:00
wmaenc: limit allowed sample rate to 48kHz ff_wma_init() allows up to 50kHz, but this generates an exponent band size table that requires 65 bands. The code assumes 25 bands in many places, and using sample rates higher than 48kHz will lead to buffer overwrites. CC:[email protected]
1ec075cfecac01f9a289965db06f76365b0b1737
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1ec075cfecac01f9a289965db06f76365b0b1737
2012-03-03 18:20:10-05:00
swfdec: do not set codec timebase. It is not supposed to be set outside of lavc. Fixes a divide by zero when the stored framerate is 0.
eaea76d72ce56f0c9ae4b15dbb6629ef1b027de7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eaea76d72ce56f0c9ae4b15dbb6629ef1b027de7
2012-02-29 13:52:55+01:00
ffmpeg: Fix division by 0 due to invalid timebase Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
ddd86a2924b9bc67c406cd66ebb1fc8915cd60f7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ddd86a2924b9bc67c406cd66ebb1fc8915cd60f7
2012-02-28 18:41:01+01:00
mp3enc: fix "warning: best_bitrate_idx may be used uninitialized in this function" Signed-off-by: Michael Niedermayer <[email protected]>
4dbdd3ec6f4a5c7d8e4f3cfe0f564bb14a77503c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4dbdd3ec6f4a5c7d8e4f3cfe0f564bb14a77503c
2012-02-25 02:17:37+01:00
ffprobe: fix crash if the file can't be opened.
8688e6acba81c411c645a1f07f4ca18502726ded
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8688e6acba81c411c645a1f07f4ca18502726ded
2012-02-18 21:35:09+01:00
asf: prevent packet_size_left from going negative if hdrlen > pktlen. This prevents failed assertions further down in the packet processing where we require non-negative values for packet_size_left. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
41afac7f7a67c634c86b1d17fc930e9183d4aaa0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/41afac7f7a67c634c86b1d17fc930e9183d4aaa0
2012-02-18 09:12:32-08:00
ffmpeg: simplify video frame polling. input_video_filter and output_video_filter can't be NULL at this point. If they are, the current code would likely crash anyway (since filtered_frame would be NULL and sent to do_video_out().
e22c7b4e25a0762b2a6125a350c5d51db428f691
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e22c7b4e25a0762b2a6125a350c5d51db428f691
2012-02-10 19:59:38+01:00
mxfdec: Sanity check PreviousPartition Without this certain files could get the demuxer stuck in a loop. Signed-off-by: Diego Biurrun <[email protected]>
df2a85085e599a7184a88d39d69b21aeb6925fdd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/df2a85085e599a7184a88d39d69b21aeb6925fdd
2012-02-09 12:54:05+01:00
pixdesc: mark pseudopaletted formats with a special flag. This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
38d553322891c8e47182f05199d19888422167dc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/38d553322891c8e47182f05199d19888422167dc
2012-02-08 21:01:31+01:00
Fix use of uninitialized memory in 4X Technologies demuxer. Signed-off-by: Michael Niedermayer <[email protected]>
a1876e0072aa0c69f037e0cafaca1a54bf2e189b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a1876e0072aa0c69f037e0cafaca1a54bf2e189b
2011-10-02 01:02:29+02:00
drawtext: add missing braces around an if() block. Prevents uninitialized read. Signed-off-by: Anton Khirnov <[email protected]>
e7f0bc8c0f1c4a8731eb1c33cb013296a0555538
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e7f0bc8c0f1c4a8731eb1c33cb013296a0555538
2012-02-05 08:07:55+01:00
mpc7: use av_fast_padded_malloc() Avoids doing malloc/free for each frame. Also fixes valgrind errors due to use of uninitialized padding bytes. Based on a patch by Reimar Döffinger <[email protected]>
83ce51cc7d10c1589f07fda1b9f10fbc5aa93e77
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/83ce51cc7d10c1589f07fda1b9f10fbc5aa93e77
2012-02-01 19:35:59-05:00
smacker: Sanity check huffman tables found in the headers. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
9adf25c1cf78dbf1d71bf386c49dc74cb8a60df0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9adf25c1cf78dbf1d71bf386c49dc74cb8a60df0
2012-01-26 10:18:00-08:00
ffmpeg: check tcgetattr result. This fixes parallel FATE (make fate -j4) failing under valgrind with: Syscall param ioctl(TCSET{S,SW,SF}) points to uninitialised byte(s) at 0x5D98B23: tcsetattr (tcsetattr.c:88) by 0x43D66C: term_init (ffmpeg.c:734) by 0x43CD8D: main (ffmpeg.c:5071) Address 0x7fefffdd0 is on thread 1's stack Uninitialised value was created by a stack allocation at 0x43D5B0: term_init (ffmpeg.c:716) Signed-off-by: Reimar Döffinger <[email protected]>
71a2c9b26567e2294b54eedafeb23aee08563de7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/71a2c9b26567e2294b54eedafeb23aee08563de7
2012-01-17 20:16:50+01:00
swscale-test: fix stack overread. Fixes problems in swscale-test where it gives a 3-member array to a function expecting a 4-member array.
06b0246da07e7c9d95476b35275a63cd6dbc300c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/06b0246da07e7c9d95476b35275a63cd6dbc300c
2012-01-12 16:38:29-08:00
mpegenc: simplify muxrate calculation The fate-h264-bsf-mp4toannexb failures were caused by an integer overflow of the unneeded multiplication. Inspired by patch by: Michael Niedermayer <[email protected]>
af9240cd3c6fb257ac2d0843334145f022ef5959
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/af9240cd3c6fb257ac2d0843334145f022ef5959
2012-01-02 00:23:40+01:00
indeo5: Fix crash due to partially initialized gop vars. Signed-off-by: Michael Niedermayer <[email protected]>
d46bc4133c104188dd6719365605e42bd1b5e2ff
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d46bc4133c104188dd6719365605e42bd1b5e2ff
2011-12-28 20:13:00+01:00
tm2: Check remaining size before init_get_bits() Fixes a null pointer dereference. Fixes 2nd half of Ticket800 Bug found by: Oana Stratulat Signed-off-by: Michael Niedermayer <[email protected]>
65f0f9183b99881af58e90e3ae2ad8b0181d52f1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/65f0f9183b99881af58e90e3ae2ad8b0181d52f1
2011-12-20 16:53:56+01:00
xl: Fix overreads Signed-off-by: Martin Storsjö <[email protected]>
00aad121d8a6f365641345a8321bdaac1ff80649
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/00aad121d8a6f365641345a8321bdaac1ff80649
2011-12-19 20:36:26+02:00
flicvideo: fix overread. Bug Found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <[email protected]>
afb2bac48d0d044718c2da3d34a97bee244be2e3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/afb2bac48d0d044718c2da3d34a97bee244be2e3
2011-12-15 04:24:38+01:00
rtmpproto: make condition work in overflow case. Signed-off-by: Reimar Döffinger <[email protected]>
0849a0ebb2c94856c3a94cb114a1412e44904c28
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0849a0ebb2c94856c3a94cb114a1412e44904c28
2011-12-10 19:34:28+01:00
h264: cap max has_b_frames at MAX_DELAYED_PIC_COUNT - 1. This prevents frame allocation overflows, and fixed fate-h264-conformance-mr3_tandberg_b with 2 threads.
2574f08d4c30b37e39650a3b3d1970f75f3170cd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2574f08d4c30b37e39650a3b3d1970f75f3170cd
2011-12-01 12:46:28-08:00
rtmp: Clean up properly if the handshake failed This prevents memory leaks if this function returns an error. Signed-off-by: Martin Storsjö <[email protected]>
02490bf3587d86a730e0de12572026504e2cb942
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/02490bf3587d86a730e0de12572026504e2cb942
2011-12-01 13:47:25+02:00
mxfdec: Parse more values in PartitionPack These values include KAGSize, HeaderByteCount and IndexByteCount. The length of the pack itself is also stored, and KAGSize is sanity checked. The FATE sample has KAGSize == 0, which is adjusted to 512. Other bad KAGSizes are set to 1.
fd34dbea58e097609ff09cf7dcc59f74930195d3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fd34dbea58e097609ff09cf7dcc59f74930195d3
2011-12-08 19:11:16+01:00
svq1enc: fix signed multiplication overflow This multiplication can overflow the signed range but not the unsigned. After right-shifting it will thus fit in the signed range again. Signed-off-by: Mans Rullgard <[email protected]>
f7f892e4d5bded48b08e7b776a5fb7c350496f2b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f7f892e4d5bded48b08e7b776a5fb7c350496f2b
2011-11-26 18:50:27+00:00
rv34: fix signed multiplication overflow Multiply by unsigned 0x01010101 to replicate bytes into 32-bit word. Signed-off-by: Mans Rullgard <[email protected]>
171ec812235a5d22fa421242351ee2da5a96c3ba
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/171ec812235a5d22fa421242351ee2da5a96c3ba
2011-11-26 18:49:51+00:00
sdp: Fix null pointer dereference with aac and ffserver. Signed-off-by: Michael Niedermayer <[email protected]>
2cf4bd7751c1920c840a3afc6dce39535def47f2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2cf4bd7751c1920c840a3afc6dce39535def47f2
2011-11-28 04:29:47+01:00
Fix av_get_channel_layout_string() for positions >31 A value shifted left by >31 needs to have a 64-bit type. As there are no defined channels in this range, the fix is purely theoretical at this point, although it does avoid some invalid shifts triggering the overflow checker. Signed-off-by: Mans Rullgard <[email protected]>
019dd2365729d44d66a5b629102e1ecb919f4f67
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/019dd2365729d44d66a5b629102e1ecb919f4f67
2011-11-25 15:19:55+00:00
h264: Fix invalid interlaced progressive MB combinations for direct mode prediction. Fixes Ticket312 Signed-off-by: Michael Niedermayer <[email protected]>
833a195905405fc9646c7544ce9d0f3279608977
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/833a195905405fc9646c7544ce9d0f3279608977
2011-11-21 02:18:47+01:00
lavf: don't leak corrupted packets Signed-off-by: Anton Khirnov <[email protected]>
055a141e440b90d1406d9e75699c09b8cc1e823b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/055a141e440b90d1406d9e75699c09b8cc1e823b
2011-11-09 07:30:43+01:00
apedec: do not keep incrementing the input data pointer past the end of the buffer during entropy decoding. The pointer address could overflow, which would likely segfault. Instead set the context error flag to indicate that the decoder tried to read past the end of the packet data.
5b8009f4c80d8fd96523c8c163441ad4011ad472
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5b8009f4c80d8fd96523c8c163441ad4011ad472
2011-10-28 11:47:28-04:00
4xmdemux: prevent use of uninitialized memory Signed-off-by: Janne Grunau <[email protected]>
79964745b3ed5a700f4f0dda56c7360497328c88
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/79964745b3ed5a700f4f0dda56c7360497328c88
2011-10-10 21:37:35+02:00
Check for corrupted data in avs demuxer. Signed-off-by: Michael Niedermayer <[email protected]>
1cce7def0a8eff2e7db294b7d195a0fb1a5043b0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1cce7def0a8eff2e7db294b7d195a0fb1a5043b0
2011-10-01 02:41:39+02:00
wavpack: Reset internal state on corrupted blocks wavpack_decode_block() supposes that it is called back with the exact same buffer unless it has returned with an error. With multi-channels files, wavpack_decode_frame() was breaking this assumption. Signed-off-by: Janne Grunau <[email protected]>
2c6cf1394096d08396faadc6e7c0b404fd6df006
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2c6cf1394096d08396faadc6e7c0b404fd6df006
2011-10-07 16:25:31+02:00
rmdec: use the deinterleaving mode and not the codec when creating audio packets. It prevents crashes due to non initialized fields. Signed-off-by: Anton Khirnov <[email protected]>
3e033da84782e12ed529e6a88dd53b6a72199e8e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3e033da84782e12ed529e6a88dd53b6a72199e8e
2011-09-19 12:37:31+02:00
[tmv] Check return value of avio_seek and avoid modifying state if it fails
fc12f54ea9d2cab4df3b125fb942b2172c04b449
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fc12f54ea9d2cab4df3b125fb942b2172c04b449
2011-09-14 19:53:45+02:00
[cafdec] Check return value of avio_seek and avoid modifying state if it fails
75f418064ecf5c2713151cbe6b3a716d2c047f1d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/75f418064ecf5c2713151cbe6b3a716d2c047f1d
2011-09-14 19:51:07+02:00
segafilm: Check for memory allocation failures in segafilm demuxer. Signed-off-by: Michael Niedermayer <[email protected]>
7cbe02575868e7d25acf3d319ece664702700f0a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7cbe02575868e7d25acf3d319ece664702700f0a
2011-09-12 21:45:07+02:00
Fixed segfault with wavpack decoder on corrupted decorrelation terms sub-blocks. Signed-off-by: Martin Storsjö <[email protected]>
8bfea4ab4e2cb32bc7bf6f697ee30a238c65d296
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8bfea4ab4e2cb32bc7bf6f697ee30a238c65d296
2011-09-10 18:58:57+03:00
mpegvideo: fix invalid picture unreferencing. Mpegvideo would free frames as soon as they're not the next or prev picture. This is fine for a single-threading model, but fails miserably in a system where pictures can be referenced (as e.g. last/prev pic) in other threads. Keeping track of ownership of pictures keeps image references (e.g. motion vectors, or the reference of a motion vector) alive as long as the picture data itself is alive. This also happens to fix make THREADS=[3-16] fate-vsynth[12]-error.
80469eafb747018cb9d9a2547f65def715d073b2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/80469eafb747018cb9d9a2547f65def715d073b2
2011-07-20 10:26:49-07:00
ffmpeg: Fix the check for experimental codecs The variable 'codec' was used uninitialized here. Signed-off-by: Martin Storsjö <[email protected]>
daca33659d12fd85062bc1798f4eb7ffeb83cc3c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/daca33659d12fd85062bc1798f4eb7ffeb83cc3c
2011-07-14 23:37:18+03:00
swscale: fix 16-bit horizontal scaling underflow. When using e.g. lanczos scaling, values can drop below 0, so they should never be unsigned.
f44d50a94c120135faeba6b4a1e5551b4397810f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f44d50a94c120135faeba6b4a1e5551b4397810f
2011-07-08 15:15:30-07:00
swscale: disable full_chroma_int when converting to non-24/32bpp RGB. This functionality is only implemented for RGB24/32 and causes crashes otherwise.
8f440223f6cb2b557ea6e34ca4079fbe415ecb9d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8f440223f6cb2b557ea6e34ca4079fbe415ecb9d
2011-07-02 08:33:52-07:00
lavf: prevent crash in av_open_input_file() if ap == NULL. Needed for proper behaviour in our old API compatibility code.
dbafb0e06faa092f60e53d845957fbab7f2a3f2d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dbafb0e06faa092f60e53d845957fbab7f2a3f2d
2011-06-18 17:51:10-04:00
lavfi: avfilter_merge_formats: handle case where inputs are same This fixes a double-free crash if lists are the same due to the two merge_ref() calls at the end of the (useless) merging that happens.
79a0ec1af4817bb7b989803b9f460d1e4acaf7b7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/79a0ec1af4817bb7b989803b9f460d1e4acaf7b7
2011-06-10 13:04:47+02:00
Revert "crypto: fix potential double free" This reverts commit 7d89f7cbf3ccd98f9a5f58db97effa9afd2d571a. Revert at authors request, and its buggy missing &
c1ad93c08ce0b6ea2f4505267fe3aa7584701dca
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c1ad93c08ce0b6ea2f4505267fe3aa7584701dca
2011-06-09 01:39:49+02:00
cmdutils: reset *picref_ptr to NULL in get_filtered_frame() Avoid the presence of an invalid pointer, fix a crash in case of get_filtered_frame() failure.
0d65e0f8cb0f924be95650f50f3d05d0b223aceb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0d65e0f8cb0f924be95650f50f3d05d0b223aceb
2011-05-20 09:34:57+02:00
id3v2: prevent unsigned integer overflow in ff_id3v2_parse() In ff_id3v2_parse(), prevent unsigned integer overflow if data length indicator is skipped and tlen is < 4. Fix crash decoding file Allaby_cut.mp3, fix trac issue #182.
64be0d1edad630f5bc0f287022f5880de07915b2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/64be0d1edad630f5bc0f287022f5880de07915b2
2011-05-18 10:35:52+02:00
drawtext: specify union type for setting default options Fix warnings of the type: vf_drawtext.c:NNN: warning: missing braces around initializer vf_drawtext.c:NNN: warning: (near initialization for ‘drawtext_options[X].default_val’)
d8c7a216024e1408a1f865227cdfd371ddbe1d59
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d8c7a216024e1408a1f865227cdfd371ddbe1d59
2011-05-16 23:50:43+02:00
wtv: detect ole date overflow
8acab7ae5bbcb589c556425453ac3d851d35021f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8acab7ae5bbcb589c556425453ac3d851d35021f
2011-05-09 02:25:40+02:00
error concealment: check last pictures motion_val before using it. Fixes NULL pointer dereference. Signed-off-by: Michael Niedermayer <[email protected]>
b8a4b0152a3a697e03fd28458098a514fcdee5d3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b8a4b0152a3a697e03fd28458098a514fcdee5d3
2011-05-12 03:03:08+02:00
targa: fix potential buffer overreads Signed-off-by: Mans Rullgard <[email protected]> (cherry picked from commit 351423ae1f861da1c647d30c73503fde2b1f3dad)
7782cb207a09f4acf0b2a935ca81076b117660a2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7782cb207a09f4acf0b2a935ca81076b117660a2
2011-02-18 19:52:41+01:00
cmdutils: fix opt_values leak Add free to uninit_opts and relocate opt_names to same Signed-off-by: Ronald S. Bultje <[email protected]> (cherry picked from commit 3a6a9cdf5b8e4c4514e483484ef1f57b07ee16f2)
ba3517aa6f573d280d80866e776885be7f01de77
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ba3517aa6f573d280d80866e776885be7f01de77
2011-02-06 20:31:45+01:00
sapenc: Free AVStream->info on cleanup This fixes yet another memory leak, present since SVN rev 25418. Signed-off-by: Mans Rullgard <[email protected]>
1f56f5ed6d68f6492e213944e145e04e4d4dca13
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1f56f5ed6d68f6492e213944e145e04e4d4dca13
2011-02-03 13:21:36+00:00
Free the RTSPStreams in ff_rtsp_close_streams This plugs a small memory leak Signed-off-by: Janne Grunau <[email protected]>
ea7f080749d68a431226ce196014da38761a0d82
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ea7f080749d68a431226ce196014da38761a0d82
2011-02-01 20:40:16+01:00
Fix memory leak in ALS decoder in big endian systems Signed-off-by: Mans Rullgard <[email protected]>
e0eb963aaa55ddcc54bf80f3261f6a436edca4a3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e0eb963aaa55ddcc54bf80f3261f6a436edca4a3
2011-01-29 18:09:42+00:00
Fix overread in altivec DSP function sad16 Signed-off-by: Mans Rullgard <[email protected]>
3af1fe829ee6db5eafe261947e74b8516ffe5188
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3af1fe829ee6db5eafe261947e74b8516ffe5188
2011-01-29 15:32:14+00:00