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
mpegts: Fix potential memory leak in mpegts_read_packet() This leak can happen in case of some error paths. Found-by: Tanami, Ohad Signed-off-by: Michael Niedermayer <[email protected]>
5710dbf88cd56e7fbee7ad70240f92fe82ce6566
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5710dbf88cd56e7fbee7ad70240f92fe82ce6566
2012-09-08 05:21:47+02:00
ffv1: fix 2 uninitialized variable warnings Signed-off-by: Michael Niedermayer <[email protected]>
0b23452c01c5f8145de111f09c0e9a7d5bd82068
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0b23452c01c5f8145de111f09c0e9a7d5bd82068
2012-09-03 01:25:04+02:00
lavc/dvdsubenc: check the type of rectangles. Avoid a crash if a text rectangle is provided. Fix the segfault reported in trac ticket #1661.
de60880543761003c3674d5d29e0af348f5eb301
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/de60880543761003c3674d5d29e0af348f5eb301
2012-08-24 12:12:41+02:00
utvideoenc: use ff_generate_len() 19% faster smaller files this may also fix possible integer overflows due to previous 32bit useage Tested with libutvideo and our utvideo decoder, this patch does not change decoder output in the test Reviewed-by: Derek Buitenhuis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
f92f4935acd7d974adfd1deebdf1bb06cbe107ca
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f92f4935acd7d974adfd1deebdf1bb06cbe107ca
2012-08-22 19:38:24+02:00
yadif: check input video size. yadif needs at least 3x3 or it will likely crash with out of array reads Signed-off-by: Michael Niedermayer <[email protected]>
a0d15027e3b0c7825cc10052363b72e9398578b9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a0d15027e3b0c7825cc10052363b72e9398578b9
2012-08-10 00:09:34+02:00
oggdec: check stream index before using it in ogg_get_length() Fixes crash based on a uninitialized array index read. If the read does not crash then out of array writes based on the same index might have been triggered afterwards. Found-by: [email protected] Signed-off-by: Michael Niedermayer <[email protected]>
9e1c55cfdec1e1e46fa39b92ea5c425ba9499c68
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9e1c55cfdec1e1e46fa39b92ea5c425ba9499c68
2012-08-05 05:08:15+02:00
lagarith: pad RGB buffer by 1 byte. For left HFYU prediction, we predict from the buffer buf+1 using 8- or 16-byte reads. This means that aligning the buffer by 16 bytes is in itself not sufficient, because if the width itself is 16- or 8-byte aligned, the buffer will not be padded, and thus a read of size 16 at buf+1 will overflow boundaries at the right edge. Padding the buffer by 1 byte is sufficient to not overflow its boundaries. Fixes bug 342.
98d0d19208959766a58f13dd6a678d1f765a26ac
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/98d0d19208959766a58f13dd6a678d1f765a26ac
2012-08-03 11:09:17-07:00
extend log line buffer sizes The string passed to av_vlog() from libx264's X264_log overflows the 512 byte part_size, truncating x264 parameter output. Double this size and put it in a #define so it only needs to be changed in one place. Signed-off-by: Wolfram Gloger <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
258dfff8394d383beaa639d19912b3f068f67e16
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/258dfff8394d383beaa639d19912b3f068f67e16
2012-06-22 19:16:51+02:00
swr: fix 10l use of uninitialized data Signed-off-by: Michael Niedermayer <[email protected]>
5f8f6243ef99e60f443785340b4bde42881fb1e3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5f8f6243ef99e60f443785340b4bde42881fb1e3
2012-06-13 13:43:42+02:00
mpc8: fix channel checks fix heap array overflow Found-by: Piotr Bandurski <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
44c10168cff41c200825448b77cb8feff0d316c9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/44c10168cff41c200825448b77cb8feff0d316c9
2012-06-03 17:40:30+02:00
4xm: fix division by zero caused by bps<8 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
1b8741a6843f3f4667c81c2d63d3182858aa534f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1b8741a6843f3f4667c81c2d63d3182858aa534f
2012-05-29 19:56:07+02:00
lavfi/pan: add supported sample rates to avoid a crash.
5dbd66395acc4ea85a3dd311f93f988a1c6021e8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5dbd66395acc4ea85a3dd311f93f988a1c6021e8
2012-05-17 16:31:54+02:00
rtpdec_h264: Add input size checks This fixes crashes if given too short data packets. Signed-off-by: Martin Storsjö <[email protected]>
de26a4b6993ff3dc91f17d110326736c96bfc9ec
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/de26a4b6993ff3dc91f17d110326736c96bfc9ec
2012-05-05 03:09:07+03:00
parseutils: reliably detect out-of-range alpha. This should fix the FATE test on ARM (not tested), but it should also detect alpha values like 2^128 reliably as invalid which would be another out-of-range case with implementation-dependant behaviour. Signed-off-by: Reimar Döffinger <[email protected]>
2b336df3cb9d9bcc12c4b398ea1dbdfe224d152e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2b336df3cb9d9bcc12c4b398ea1dbdfe224d152e
2012-04-24 21:28:24+02:00
h264: use proper PROLOGUE statement for a function using 8 registers. Fixes crashes when using biweight on win64.
87a246341b0a87122391f9dbf00cae7bc3a62d90
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/87a246341b0a87122391f9dbf00cae7bc3a62d90
2012-04-16 08:07:21-07:00
vf_drawtext: fix memory leak of glyph data.
423047ea3167db5dc7d7b69165e1930710adb878
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/423047ea3167db5dc7d7b69165e1930710adb878
2012-04-10 15:16:12+02:00
tm2dec: fix overread Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
3768445be80090f2c12afa5eb95152dcd389b616
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3768445be80090f2c12afa5eb95152dcd389b616
2012-03-31 18:25:44+02:00
mxfdec: pass correct context to av_timecode_init() fixes null ptr dereference Signed-off-by: Michael Niedermayer <[email protected]>
33f39c02aa0d6d2479a95669fe36cd45fe7f3bb8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/33f39c02aa0d6d2479a95669fe36cd45fe7f3bb8
2012-03-26 03:13:54+02:00
anm: convert to bytestream2 API Protects from overreads. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
5b4d026a030a775f0bd287e3a27188e8b5c9009f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5b4d026a030a775f0bd287e3a27188e8b5c9009f
2012-03-14 13:23:07-07:00
swscale: fix overflows in filterPos[] calculation for large sizes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
19a65b5be47944c607a9e979edb098924d95f2e4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/19a65b5be47944c607a9e979edb098924d95f2e4
2012-02-23 10:30:07-08:00
rv34: change most "int stride" into "ptrdiff_t stride". This prevents having to sign-extend on 64-bit systems with 32-bit ints, such as x86-64. Also fixes crashes on systems where we don't do it and arguments are not in registers, such as Win64 for all weight functions.
3ab9a2a5577d445252724af4067d2a7c8a378efa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3ab9a2a5577d445252724af4067d2a7c8a378efa
2012-02-20 14:58:25-08:00
huffyuv: error out on bit overrun. On EOF, get_bits() will continuously return 0, causing an infinite loop. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
84c202cc37024bd78261e4222e46631ea73c48dd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/84c202cc37024bd78261e4222e46631ea73c48dd
2012-02-17 15:23:20-08:00
shorten: Use separate pointers for the allocated memory for decoded samples. Fixes invalid free() if any of the buffers are not allocated due to either not decoding a header or an error prior to allocating all buffers. Fixes CVE-2012-0858 CC: [email protected] Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
204cb29b3c84a74cbcd059d353c70c8bdc567d98
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/204cb29b3c84a74cbcd059d353c70c8bdc567d98
2012-02-16 15:18:45-05:00
rv30: check block type validity Prevents crashes with the fuzzed samples from bugs 88, 89 and 125 after "golomb: avoid infinite loop on all-zero input".
18d1d5886bb78e4d0e11a2a0193fda765e05805d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/18d1d5886bb78e4d0e11a2a0193fda765e05805d
2012-02-14 19:03:10+01:00
vp8: always update next_framep[] before returning from decode_frame(). Also slightly move around code not allocate a new frame if we won't decode it. This prevents us from putting undecoded frames in frame pointers, which (in mt decoding) other threads will use and wait on as references, causing a deadlock (if we skipped decoding) or a crash (if we didn't initialized next_framep[] at all). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
fb90785e98ac405198c0ca9fec133227f6d82826
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fb90785e98ac405198c0ca9fec133227f6d82826
2012-02-07 11:29:02-08:00
ape: stop reading after the last frame has been read This avoids buffer overread when the last packet size estimate is too small.
c2c316158fb670f61abfa108cb940ba31264b0f8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c2c316158fb670f61abfa108cb940ba31264b0f8
2012-02-06 13:09:11-05:00
mjpegdec: use av_fast_padded_malloc() also check for allocation failure Signed-off-by: Justin Ruggles <[email protected]>
0880503fbbd68bf6b1352488944020e3ec35c2e4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0880503fbbd68bf6b1352488944020e3ec35c2e4
2012-02-01 14:37:47-05:00
diracdec: Fix integer overflow leading to out of global array read. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
9729f140ae073f1df2041b6c5fd2068592eb9c48
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9729f140ae073f1df2041b6c5fd2068592eb9c48
2012-01-30 20:35:09+01:00
tta: error out if samplerate is zero. Prevents a division by zero later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
7416d610362807848236ceff1bc6740dbc82842d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7416d610362807848236ceff1bc6740dbc82842d
2012-02-11 08:13:53-08:00
dpcm: Round output buffer size up. Fixes: CVE-2011-3951 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
92115bb685914cbfeb02fed26d5acd50dea03d7e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/92115bb685914cbfeb02fed26d5acd50dea03d7e
2012-01-26 17:05:57+01:00
mxfdec: check return value of avio_seek Avoid modifying state if avio_seek fails. Signed-off-by: Janne Grunau <[email protected]>
3359246d9a47c3f4418d994853efe17324a0159b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3359246d9a47c3f4418d994853efe17324a0159b
2012-01-22 14:40:52+01:00
Fix leaking of side data. While we correctly "register" the side data when we split it, the application (in this case FFmpeg) might not update the AVPacket pool it uses to finally free the packet, thus causing a leak. This also makes the av_dup_packet unnecessary which could cause an even worse leak in this situation. Also change the code to not modify the user-provide AVPacket at all. Signed-off-by: Reimar Döffinger <[email protected]>
c4ba5198ea48f8f648d85a853ea46e29001c12c8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c4ba5198ea48f8f648d85a853ea46e29001c12c8
2012-01-14 17:23:57+01:00
vorbisdec: Fix decoding bug with channel handling Fixes Bug: #191 Chromium Bug: #101458 CVE-2011-3895 Signed-off-by: Reinhard Tartler <[email protected]>
e6d527ff729e42d80e4756cab779ff4ad693631b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e6d527ff729e42d80e4756cab779ff4ad693631b
2012-01-07 23:16:52+01:00
mkv: Fix a bug where a pointer was cached to an array that might later move due to a realloc() BUG=100492 Review URL: http://codereview.chromium.org/8366004 Fixes: 1 of 2 for CVE-2011-3893 Signed-off-by: Michael Niedermayer <[email protected]>
f35e037c93cf7d25e65b4a2ed3674358f05e4bed
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f35e037c93cf7d25e65b4a2ed3674358f05e4bed
2012-01-04 21:58:08+01:00
avidec: move eof check before continue. Fixes a infinite loop Fixes half of Ticket800 Bug found by Oana Stratulat Signed-off-by: Michael Niedermayer <[email protected]>
3c7f75bd84b4c30a0f86a491a37f759dfaaab86d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3c7f75bd84b4c30a0f86a491a37f759dfaaab86d
2011-12-20 16:52:42+01:00
indeo3: check motion vectors for validity Fixes null pointer dereferences in fuzzed files found by Oana Stratulat. Signed-off-by: Janne Grunau <[email protected]>
be540e0cb3ea9f9c7ac26eb0c0b7249344298caa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/be540e0cb3ea9f9c7ac26eb0c0b7249344298caa
2012-01-07 09:41:11+01:00
mov: Fix near infinite loop in stsd parsing. Fixes Ticket768 Bug found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <[email protected]>
5f95c130a020ec8f6eb7ade8808f59dac5834410
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5f95c130a020ec8f6eb7ade8808f59dac5834410
2011-12-15 21:28:54+01:00
rtpenc: Cast a rescaling parameter to int64_t This avoids overflow if frame_size is over 2147, since both frame_size and AV_TIME_BASE are plain integers. Signed-off-by: Martin Storsjö <[email protected]>
2d31d890bfce103512dca34e35815762eb61b5da
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2d31d890bfce103512dca34e35815762eb61b5da
2011-12-01 23:19:14+02:00
http: Make sure proxyauth is initialized This string will be passed to ff_http_auth_create_response even if no proxy is used, resulting in reading uninitialized memory. The other auth string is always initialized by av_url_split. Signed-off-by: Martin Storsjö <[email protected]>
abe20c59b93426958624e16e89b24e0c0b43f370
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/abe20c59b93426958624e16e89b24e0c0b43f370
2011-12-01 12:05:14+02:00
iff: fix invalid reads (ticket 689) Signed-off-by: Michael Niedermayer <[email protected]>
b4886795108e319a5b3a88370e90207d9c15a01e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b4886795108e319a5b3a88370e90207d9c15a01e
2011-11-27 03:11:08+01:00
swscale: Readd #define _SVID_SOURCE This was removed erroneously in 046f081b46c8479820409cf8f530b988221bd15b. This define still is necessary for getting MAP_ANONYMOUS defined on linux/glibc, despite the define reshuffling done in that commit. Without MAP_ANONYMOUS defined, the mprotect calls for setting the generated mmx2 scaler code pages executable are left out, causing crashes if that codepath is chosen. This patch fixes scaling from 192x144 to 320x240 with -sws_flags fast_bilinear, which crashes on linux at the moment. Signed-off-by: Martin Storsjö <[email protected]>
f32dfad9dc64acf0fd1bb867e127a9efe6380676
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f32dfad9dc64acf0fd1bb867e127a9efe6380676
2011-11-25 19:59:15+02:00
swr: fix invalid sample format message. If the sample format is invalid, av_get_sample_fmt_name() will always return NULL.
0232f788b6b0855db1771dbf8d7174e2eda2ff45
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0232f788b6b0855db1771dbf8d7174e2eda2ff45
2011-11-24 16:55:45+01:00
sws: Fix warning: ‘abase’ may be used uninitialized in this function Signed-off-by: Michael Niedermayer <[email protected]>
6ed000c8e6e8a5f55433b2d67e21bcba2ebc4b5d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6ed000c8e6e8a5f55433b2d67e21bcba2ebc4b5d
2011-11-18 21:51:29+01:00
amovie: avoid crash in amovie_request_frame() if no samplesref is available The crash occurrs when a frame is successfully decoded, but no decoded data is immediately available (typically happens with ogg/vorbis).
2b1a4c5b3411c3030a5bdbd70d80bc606be570f7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2b1a4c5b3411c3030a5bdbd70d80bc606be570f7
2011-11-15 00:10:15+01:00
fraps: check overread per sample instead of per line Signed-off-by: Michael Niedermayer <[email protected]>
82a1d575757d5bc9b0b218fe89c77f8de06a7d39
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/82a1d575757d5bc9b0b218fe89c77f8de06a7d39
2011-11-09 19:40:59+01:00
Fix av_packet_split_side_data. p cannot be calculated before av_dup_packet since that one might change avpkt->data, causing invalid reads and a non-working range check. Signed-off-by: Reimar Döffinger <[email protected]>
54a09f18e3d1d3f049c72878f1c891ab0336408a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/54a09f18e3d1d3f049c72878f1c891ab0336408a
2011-11-06 09:37:34+01:00
lavf: fix null pointer dereference in rdt Signed-off-by: Michael Niedermayer <[email protected]>
bb99ae3ae924c942a634bec7711ec7ee11c38eb9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bb99ae3ae924c942a634bec7711ec7ee11c38eb9
2011-11-03 22:38:10+01:00
apedec: do not set s->samples until after validation. This prevents errors and/or invalid writes in the next decode call due to s->samples still being negative.
b7e514575982fd2f5db5ea4f3b466d6dd6a08aa7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b7e514575982fd2f5db5ea4f3b466d6dd6a08aa7
2011-10-28 11:47:27-04:00
avformat: Add the tls protocol, using OpenSSL or gnutls Note, this protocol doesn't yet check verify the server certificate against a local database of trusted CA root certificates. Signed-off-by: Martin Storsjö <[email protected]>
558d192d23bf76a476c0d84d212611e529c64529
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/558d192d23bf76a476c0d84d212611e529c64529
2011-11-05 12:09:30+02:00
shorten: check for realloc failure
9e5e2c2d010c05c10337e9c1ec9d0d61495e0c9c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9e5e2c2d010c05c10337e9c1ec9d0d61495e0c9c
2011-10-20 13:09:25-04:00
swscale: prevent overflow during initialization Signed-off-by: Janne Grunau <[email protected]>
d1d421cbc0d13b08535f7fc08d179572ee352072
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d1d421cbc0d13b08535f7fc08d179572ee352072
2011-10-18 10:29:49+02:00
Fix a regression in the dca parser introduced by dts express support. The dca parser needs to check that the framesize is actually of a complete frame, and not of a partial DTS-HD frame, which is not constant size, and thus the check would fail. (cherry picked from commit ebc0ccb9af59b78732e82c09f8c90b1d46b478e0) Review-by: Benjamin Larsson Signed-off-by: Michael Niedermayer <[email protected]>
022d22e5810d1c90f618fddd751b1f03502d6021
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/022d22e5810d1c90f618fddd751b1f03502d6021
2011-10-28 15:26:31+02:00
h264: fix invalid shifts in init_cavlc_level_tab() The level_code expression includes a shift which is invalid in those cases where the value is not used. Moving the calculation to the branch where the result is used avoids these. Signed-off-by: Mans Rullgard <[email protected]>
8babfc033ecb6332155c1f8879e54dee41d16952
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8babfc033ecb6332155c1f8879e54dee41d16952
2011-10-11 15:00:56+01:00
h264: fix signed overflows in x*0x01010101 expressions Signed-off-by: Mans Rullgard <[email protected]>
4d1418cd4f620b382106542d0f33d96e33a0fdae
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4d1418cd4f620b382106542d0f33d96e33a0fdae
2011-10-09 12:27:19+01:00
mov: Prevent illegal writes when chapter titles are very short.
8fb22c3d47ccb87d0ee235226a700d2b3ca97afb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8fb22c3d47ccb87d0ee235226a700d2b3ca97afb
2011-10-14 10:36:18-07:00
xan: Fixed out of bound accesses in xan_unpack() Signed-off-by: Janne Grunau <[email protected]>
3e0757c2a87c8cf3e452f67bca279001c64cedff
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3e0757c2a87c8cf3e452f67bca279001c64cedff
2011-10-07 16:25:32+02:00
Check for out of bound reads in the Tiertex Limited SEQ decoder. Signed-off-by: Michael Niedermayer <[email protected]>
5d7e3d71673d64a16b58430a0027afadb6b3a54e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5d7e3d71673d64a16b58430a0027afadb6b3a54e
2011-09-30 02:09:59+02:00
h264: fix detection of optional trailing PPS elements The PPS may contain a few trailing elements whose presence is only signalled by data remaining after the the mandatory part has been parsed. The current code fails to take into account the rbsp_trailing_bits() when deciding whether to parse these optional elements. Assuming no unnecessary padding bytes are passed to this function, the optional elements are present if either more than 8 extra bits remain or the remaining bits do not form a valid rbsp_trailing_bits() after the mandatory PPS elements have been parsed. Signed-off-by: Mans Rullgard <[email protected]>
be1242a3f2b28e9cb08515bdc1db6c14403c279a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/be1242a3f2b28e9cb08515bdc1db6c14403c279a
2011-10-11 12:05:51+01:00
bink: Prevent NULL dereferences with missing reference frame Signed-off-by: Janne Grunau <[email protected]>
c7e631986b4a326a71a20a1a51000f3fbf6e64e7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c7e631986b4a326a71a20a1a51000f3fbf6e64e7
2011-10-07 16:25:31+02:00
Check for out of bound writes in the wmavoice decoder. Signed-off-by: Michael Niedermayer <[email protected]>
e09ae22ab7d9af7f1cbfd2445fa71ad9e7c28ee3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e09ae22ab7d9af7f1cbfd2445fa71ad9e7c28ee3
2011-09-28 00:18:38+02:00
ffprobe: fix crash with -h.
8af64e1a67725d29410219aaa8a5e8f2aaea7acf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8af64e1a67725d29410219aaa8a5e8f2aaea7acf
2011-09-16 14:31:42+02:00
[tta] Check return value of avio_seek and avoid modifying state if it fails
d9d7174d70cb291ce9fc7a5e1fc1a420bbb729cb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d9d7174d70cb291ce9fc7a5e1fc1a420bbb729cb
2011-09-14 19:53:45+02:00
segafilm: Fix potential division by 0 on corrupted segafilm streams in the demuxer. Signed-off-by: Michael Niedermayer <[email protected]>
c58d45e00489e07fd4606b64ad4095660494185b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c58d45e00489e07fd4606b64ad4095660494185b
2011-09-12 21:45:23+02:00
Fix memory corruption in case of memory allocation failure in av_probe_input_buffer() Reported-by: Tanami Ohad Signed-off-by: Michael Niedermayer <[email protected]>
941bb552c6e08b40eb7d7842df19285cd650edd0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/941bb552c6e08b40eb7d7842df19285cd650edd0
2011-08-27 21:39:52+02:00
vc1: properly zero coded_block[] edges on new slice entry. Previously, we would leave the left edge uninitialized, which led to CBP prediction errors on slice edges, e.g. in SA10098.vc1.
d4b9974465baf893e90527a366e7a7411ded1ef8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d4b9974465baf893e90527a366e7a7411ded1ef8
2011-08-24 22:06:06-07:00
Fixed segfault on corrupted smacker streams in the demuxer. Signed-off-by: Michael Niedermayer <[email protected]>
d0121e8d969cde74fa7dbd96d3602109b051e701
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d0121e8d969cde74fa7dbd96d3602109b051e701
2011-09-11 21:19:45+02:00
mpegts: Mark corrupted packets Signed-off-by: Zohar Kelrich <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
ce9e31655e5b8f8db3bb4f13f436fc836062a514
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ce9e31655e5b8f8db3bb4f13f436fc836062a514
2011-08-02 02:43:22+02:00
matroskadec: fix integer underflow if header length < probe length. This fixes a crash with specifically crafted files. Signed-off-by: Ronald S. Bultje <[email protected]>
69619a13c3fef940cba545cf0a283ff22771dd71
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/69619a13c3fef940cba545cf0a283ff22771dd71
2011-07-19 18:06:06-07:00
mt: proper locking around release_buffer calls. This fixes a crash when seeking in some webm files with many threads (e.g. 8).
5eafc8b46644764f8aef1b7b2ecae53ee8034822
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5eafc8b46644764f8aef1b7b2ecae53ee8034822
2011-07-10 21:41:52-07:00
vf_mp: do not add duplicated pixel formats. This avoid a crash with in avfilter_merge_formats() in case one of the filter formats list has multiple time the same entry. Thanks to Mina Nagy Zaki for helping figuring out the issue.
c9584f0c9c5f3b84c3b2e9b2b9d3a7fdc2e0fd0d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c9584f0c9c5f3b84c3b2e9b2b9d3a7fdc2e0fd0d
2011-06-22 19:05:00+02:00
avfilter picture pool: double free hotfix This fix introduces a small memleak Signed-off-by: Michael Niedermayer <[email protected]>
90c6963daea9210d7d2104e2ece94dd4e2fffc17
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/90c6963daea9210d7d2104e2ece94dd4e2fffc17
2011-06-21 04:24:03+02:00
error_resilience: skip last-MV predictor step if MVs are not available. Fixes crashes when playing broken MPEG2-TS streams.
20153fb8f6ce7f482298170d2700befe898fa1cd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/20153fb8f6ce7f482298170d2700befe898fa1cd
2011-06-20 22:18:27+02:00
rawdec: don't leak option strings.
a606aa7570ef71c33569d64cda1b42743eb90682
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a606aa7570ef71c33569d64cda1b42743eb90682
2011-06-03 08:11:17+02:00
cmdutils: use sws_freeContext() instead of av_freep(). av_freep(swsContext) will leak all memory potentially allocated within the swsContext.
faf8d3ddfa105d7f107a886c5f3cadf6357d89b6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/faf8d3ddfa105d7f107a886c5f3cadf6357d89b6
2011-05-27 13:22:28-04:00
LATM/AAC: Free previously initialized context on reinit. Fixes memory leaks which are the result of overwriting already-initialized MDCT contexts during context reinitialization, e.g. in valgrind fate-aac-latm_000000001180bc60. Signed-off-by: Diego Biurrun <[email protected]>
42da8ea8e848e65611f0c606cd2c96d3a70c041d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/42da8ea8e848e65611f0c606cd2c96d3a70c041d
2011-05-20 18:24:53+02:00
indeo3: add out-of-buffer write check Prevent out-of-buffer writes. In particular fix smclocki32.avi.1.1 crash, trac issue #114, roundup issue #1482.
48df6a241532f0702fc4fd10ddcbfac435e4027c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/48df6a241532f0702fc4fd10ddcbfac435e4027c
2011-05-25 11:29:47+02:00
asfdec: fix assert failure on invalid files Add an extra size validity check in asf_read_frame_header(). Without this asf->packet_size_left may become negative, which triggers an assertion failure later. Signed-off-by: Ronald S. Bultje <[email protected]>
0bd433a916cd8d98fce47742fbf6d0f90ec941c4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0bd433a916cd8d98fce47742fbf6d0f90ec941c4
2011-05-03 22:36:08-04:00
vsrc_buffer: fix NULL dereference Signed-off-by: Michael Niedermayer <[email protected]>
ad0193bf9cb258695a7f929954edd6e2e51de4d9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ad0193bf9cb258695a7f929954edd6e2e51de4d9
2011-04-26 18:15:52+02:00
vsrc_movie: fix leak in request_frame() Also set movie->picref to NULL, in order to avoid a crash in uninit() when movie->picref is unreffed again and it was already freed. Signed-off-by: Stefano Sabatini <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
5eb901cfec4a1bca4d961c6eb6889a91a87031ca
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5eb901cfec4a1bca4d961c6eb6889a91a87031ca
2011-04-26 07:42:56+02:00
Dont leak sws contexts. Signed-off-by: Michael Niedermayer <[email protected]>
bbd1c43fa3231cae594e9103a0e041977eafa244
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bbd1c43fa3231cae594e9103a0e041977eafa244
2011-04-03 16:40:12+02:00
configure: Don't explicitly disable ffplay or in/outdevices on dos The normal dependency tracking system disables them just fine.
da21225ae2d1803450b054db0e5ae13064f6fbbe
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/da21225ae2d1803450b054db0e5ae13064f6fbbe
2011-03-24 09:20:05+01:00
vp3-mt: fix deadlock when first frame is not a keyframe.
8cf9a09d407c42299b3203bd1eb42af6109a0d7a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8cf9a09d407c42299b3203bd1eb42af6109a0d7a
2011-03-02 12:15:07-05:00
vp8: ppc: fix invalid reads in altivec epel mc The 4-tap filters should only access one row/column before the reference block. Signed-off-by: Mans Rullgard <[email protected]>
e0e46cae377347cbe1cd27c0d85568921b12c2ad
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e0e46cae377347cbe1cd27c0d85568921b12c2ad
2011-02-21 20:28:41+00:00
ac3enc: fix bug in stereo rematrixing decision. The rematrixing strategy reuse flags are not reset between frames, so they need to be initialized for all blocks, not just block 0. Signed-off-by: Mans Rullgard <[email protected]>
5b54d4b376fbd2c291b8a6dba7d425e28f654bcf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5b54d4b376fbd2c291b8a6dba7d425e28f654bcf
2011-02-16 23:39:57+00:00
Check for several overreads, fixes issue 2512. Patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26289 to svn://svn.ffmpeg.org/ffmpeg/trunk
b89f4fb1908f26d2704b9496952131fffd4dafae
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b89f4fb1908f26d2704b9496952131fffd4dafae
2011-01-09 19:38:32+00:00
Fix a crash when decoding tiff by moving check for invalid header up before reading data. Fixes issue 2500. Patch by Daniel Kang, daniel.d.kang at gmail Originally committed as revision 26248 to svn://svn.ffmpeg.org/ffmpeg/trunk
d381249bb86d5a4b1a99bb292a7aed034d6d12de
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d381249bb86d5a4b1a99bb292a7aed034d6d12de
2011-01-06 22:12:55+00:00
Fix crash in gradfun:end_frame() when inpic == outpic, so it has to be freed just once. Originally committed as revision 26058 to svn://svn.ffmpeg.org/ffmpeg/trunk
69b8d83ecf5f6deb9ad94bdaa816aa205430d3e9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/69b8d83ecf5f6deb9ad94bdaa816aa205430d3e9
2010-12-19 13:02:05+00:00
Fix crash when decoding DV in AVI introduced in r24579 (issue 2174). Patch by Andrew Wason, rectalogic rectalogic com Originally committed as revision 25023 to svn://svn.ffmpeg.org/ffmpeg/trunk
4ed899f2c5848b75b61d13ad42942ecc2a4386f9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4ed899f2c5848b75b61d13ad42942ecc2a4386f9
2010-09-02 11:51:32+00:00
vorbisdec: Prevent a potential integer overflow. If sizeof uint_fast8_t > 1 and sizeof size_t <= 4, the expression that mallocs classifs is susceptible to integer overflow. Originally committed as revision 24675 to svn://svn.ffmpeg.org/ffmpeg/trunk
366d919016a679d3955f6fe5278fa7ce4f47b81e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/366d919016a679d3955f6fe5278fa7ce4f47b81e
2010-08-03 00:25:06+00:00
Add 2 failed memory allocation checks Originally committed as revision 24598 to svn://svn.ffmpeg.org/ffmpeg/trunk
e08ec714801a8f8e72eeee57c2df48b8fbaf2e12
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e08ec714801a8f8e72eeee57c2df48b8fbaf2e12
2010-07-30 18:34:39+00:00
http: Set http_code to 200 when doing a POST This avoids reading and comparing uninitialized memory. Originally committed as revision 23464 to svn://svn.ffmpeg.org/ffmpeg/trunk
dd798dcd11d5ddf0cad0e44bdcd7bc3e90b3bbe8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dd798dcd11d5ddf0cad0e44bdcd7bc3e90b3bbe8
2010-06-04 06:35:12+00:00
vp8: Check for malloc failure Originally committed as revision 24251 to svn://svn.ffmpeg.org/ffmpeg/trunk
b6c420ce8f1151121350892c75e8d688e085f253
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b6c420ce8f1151121350892c75e8d688e085f253
2010-07-16 07:20:31+00:00
Fix lavfi pixdesc test This test verifies the pixdesc code by comparing the output with and without a filter which should have no effect on the image. Since the available pixel formats depend on the byte order of the machine, a simple reference checksum is not possible. The test originally tried to solve this by generating a reference file on the fly. The problem with this is that the test framework expects the reference file in the source tree, and writing to the source tree is not allowed. To avoid complicating the test framework, we instead provide two reference files and select which to use based on the byte order. Originally committed as revision 24330 to svn://svn.ffmpeg.org/ffmpeg/trunk
7c1bb9143e8ebb1d55589b9c4dc839fee764a55b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7c1bb9143e8ebb1d55589b9c4dc839fee764a55b
2010-07-19 17:17:49+00:00
Fix memory leak for truncated frames Originally committed as revision 21901 to svn://svn.ffmpeg.org/ffmpeg/trunk
cdfc38f43b94e8ec3a9be10de2767778946d6eb5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cdfc38f43b94e8ec3a9be10de2767778946d6eb5
2010-02-19 20:20:17+00:00
Don't forget to set known audio parameters (samplerate, etc.) if the codec is not supported in FFmpeg. This will cause crashes later because the samplerate is used to initialize the timebase. Originally committed as revision 21741 to svn://svn.ffmpeg.org/ffmpeg/trunk
170870b77c8c71304f9eae946d49aa5e30a464bc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/170870b77c8c71304f9eae946d49aa5e30a464bc
2010-02-10 18:30:55+00:00
Fix race condition with reading between video_current_pts and video_current_pts_time. Originally committed as revision 21585 to svn://svn.ffmpeg.org/ffmpeg/trunk
68aefbe81cb3b9dd002108782bb8d798e1c12806
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/68aefbe81cb3b9dd002108782bb8d798e1c12806
2010-02-01 10:55:51+00:00
mkvdec: Avoid divide-by-zero crash on invalid real audio tracks Originally committed as revision 21129 to svn://svn.ffmpeg.org/ffmpeg/trunk
18ca491bf13b76fc022373110ccac385fee0557c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/18ca491bf13b76fc022373110ccac385fee0557c
2010-01-11 00:31:55+00:00
Make ""MPEG motion vector out of boundary" message more verbose. Originally committed as revision 20669 to svn://svn.ffmpeg.org/ffmpeg/trunk
22d4f21331429a05a5c067c5ff358688c7eb3994
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/22d4f21331429a05a5c067c5ff358688c7eb3994
2009-11-30 17:29:21+00:00
Set data_size to 0 to avoid having it uninitialized. based on 31_mp3_outlen.patch by chrome. Originally committed as revision 19988 to svn://svn.ffmpeg.org/ffmpeg/trunk
45a014d75efd043aa432b87869f898e552cbbb75
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/45a014d75efd043aa432b87869f898e552cbbb75
2009-09-23 11:44:30+00:00
Check if PIC is somehow already enabled (e.g. a compiler that enables it by default). This in particular ensures that -DPIC is set appropriately for YASM, which avoids linking failures on x86_64 for compilers that have PIE enabled by default (e.g. hardened Gentoo). It also makes the macho64 special-case hack adding -DPIC to YASMFLAGS obsolete. Originally committed as revision 20497 to svn://svn.ffmpeg.org/ffmpeg/trunk
5755bc88e51a82dd00897d840df2a688631da768
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5755bc88e51a82dd00897d840df2a688631da768
2009-11-10 12:57:28+00:00