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
riff: fix invalid av_freep() calls on EOF in ff_read_riff_info
15cea3695daf3f6363794594982e3816ddc8d90b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/15cea3695daf3f6363794594982e3816ddc8d90b
2012-01-22 19:32:44+01:00
latmdec: Check AudioSpecificConfig length before decoding extradata. This is different than a normal get_bits() over read because decode_audio_specific_config() creates its own GetBitContext. Fixes Bug 170.
b5fc571e4f730579f328ae9cf77435cb7fddc53d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b5fc571e4f730579f328ae9cf77435cb7fddc53d
2012-01-11 14:40:47-08:00
electronicarts: check bytes per sample for validity Prevents division by zero.
73b16198b6cab1cdafa46143aae7a69e10e130fd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/73b16198b6cab1cdafa46143aae7a69e10e130fd
2012-01-07 00:18:42+01:00
vorbis: Fix last quarter of CVE-2011-3893 Signed-off-by: Michael Niedermayer <[email protected]>
6fcf2bb8af0e7d6bb179e71e67e5fab8ef0d2ec2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6fcf2bb8af0e7d6bb179e71e67e5fab8ef0d2ec2
2012-01-04 21:58:08+01:00
vorbis: make sure ch is non zero before calling vorbis_residue_decode This possibly makes part of the CVE-2011-3895 fix unneeded. Signed-off-by: Michael Niedermayer <[email protected]>
ff7f198d7f9504f71676327be0be47661cfe39d6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ff7f198d7f9504f71676327be0be47661cfe39d6
2012-01-04 21:58:08+01:00
vc1dec: fix invalid memory access for small video dimensions For small video dimensions, these calculations of the upper bound for pixel access may have a negative result. Using an unsigned comparison to bound a potentially negative value only works if the greater operand is non-negative. Fixed by doing edge emulation when the upper bound is probably negative, everywhere that this pattern appears. Signed-off-by: Kostya Shishkov <[email protected]>
d209c27b09234cc40bbdbd680aa502b493edf595
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d209c27b09234cc40bbdbd680aa502b493edf595
2012-01-04 10:35:26+01:00
v410dec: Check for sufficient input data. Fixes crash Signed-off-by: Michael Niedermayer <[email protected]>
11ca3416f92744f376c08e5f31bcbe5d9b44acb2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/11ca3416f92744f376c08e5f31bcbe5d9b44acb2
2011-12-28 18:33:29+01:00
Fixed crash in palette handling when converting certain .png images to .pcx or .bmp. The existing code expected a palette buffer holding 256 uint32_t's allocated in the data[1] field of the AVFrame structure, but data[1] was NULL. The bug is fixed by using a fixed local array (palette256) to hold the palette instead. This solves http://ffmpeg.org/trac/ffmpeg/ticket/833 Signed-off-by: Frank Vernaillen <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
ad1c50255735c20bd86572d3e8b3c88a5ca6c8f1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ad1c50255735c20bd86572d3e8b3c88a5ca6c8f1
2011-12-27 23:51:02+01:00
shorten: Fix invalid free() Signed-off-by: Michael Niedermayer <[email protected]>
18bcfc912e48bf77a5202a0e24a3b884b9b2ff2c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/18bcfc912e48bf77a5202a0e24a3b884b9b2ff2c
2011-12-25 18:55:43+01:00
indeo3: Fix null ptr dereference Fixes Ticket804 Bug found by: Oana Stratulat Signed-off-by: Michael Niedermayer <[email protected]>
134aaa79f7f1ce1df64afc7d10d2b3de77df7b08
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/134aaa79f7f1ce1df64afc7d10d2b3de77df7b08
2011-12-21 00:35:10+01:00
truemotion2: check size before GetBitContext initialisation Prevents null ptr derefence for negative sizes.
696ace50ea91a65dff887aaf5296f42a2fbc8f6c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/696ace50ea91a65dff887aaf5296f42a2fbc8f6c
2012-01-05 23:19:13+01:00
mp3dec: hack: fix decoding with safe bitstream reader The buffer splicing relies on the bitstream reader over-reading the end of the buffer as declared in init_get_bits(), although more data is actually present. Manually moving the bitstream boundary after init_get_bits() allows this to work as expected. Signed-off-by: Mans Rullgard <[email protected]>
ac08f798bbfe6b3a631964a26da961e692b1c9af
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ac08f798bbfe6b3a631964a26da961e692b1c9af
2011-12-17 17:51:22+00:00
cljr: Check if width or height are positive integers width and height might get passed as 0 and would cause floating point exceptions in decode_frame. Fixes bugzilla #149 Signed-off-by: Michael Niedermayer <[email protected]>
4af0262f7d531c33b00d7f9dbca808d9c62d6a84
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4af0262f7d531c33b00d7f9dbca808d9c62d6a84
2011-12-16 20:23:38+01:00
msrledec: Check for overreads Signed-off-by: Michael Niedermayer <[email protected]>
53be37e368928e7f274e33ef8d118109da373c79
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/53be37e368928e7f274e33ef8d118109da373c79
2011-12-13 15:46:23+01:00
dv: simplify bitstream splicing in dv_decode_ac() This is simpler and fixes some overflow checker warnings. Signed-off-by: Mans Rullgard <[email protected]>
b6ae0866821df5f3b83f6b7f5c281d9a3e36b7ee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b6ae0866821df5f3b83f6b7f5c281d9a3e36b7ee
2011-11-26 20:52:09+00:00
adx: use 12-bit coefficients instead of 14-bit to avoid integer overflow
954d94dd5e13ba7a5e9e049d0f980bddced9644c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/954d94dd5e13ba7a5e9e049d0f980bddced9644c
2011-11-26 16:25:06-05:00
s3tc: fix shift overflow by using unsigned constant Signed-off-by: Mans Rullgard <[email protected]>
b02aa3a8eaa5673f36cfd944fe23dc3ea02b38f6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b02aa3a8eaa5673f36cfd944fe23dc3ea02b38f6
2011-11-26 18:50:42+00:00
lavf: fix multiplication overflow in avformat_find_stream_info() Converting to double before the multiplication rather than after avoids an integer overflow in some cases. Signed-off-by: Mans Rullgard <[email protected]>
52767d891c665ab1124fe4ce82d99b59673de7d2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/52767d891c665ab1124fe4ce82d99b59673de7d2
2011-11-15 23:41:04+00:00
pthreads: drop has_b_frames mangling, its buggy in many many ways, not to mention race conditions and that its used for stream copy, used to determine IPB type by applications and other things. Fixes various frame drop/timestamp issues with frame multithreading. Signed-off-by: Michael Niedermayer <[email protected]>
26ae9a5d7c448a3eb42641b546ee8d585ab716e6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/26ae9a5d7c448a3eb42641b546ee8d585ab716e6
2011-11-09 17:47:10+01:00
mpeg12enc: Don't set up run-level info for level 0. run: The number of zero coefficients preceding a non-zero coefficient, in the scan order. The absolute value of the non-zero coefficient is called "level". The run-level code makes illegal reads when trying to set up tables for nonsense level 0.
7c5dfc174be59afa671a98ec85fe208c528ab64f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7c5dfc174be59afa671a98ec85fe208c528ab64f
2011-11-07 10:50:48-08:00
apedec: check for data buffer realloc failure
11ca8b2d7486e879926488404b3b79af774f0f2d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/11ca8b2d7486e879926488404b3b79af774f0f2d
2011-10-28 11:47:27-04:00
resample2: fix potential overflow Signed-off-by: Michael Niedermayer <[email protected]>
1b9ca38d9d06d319fffd61d27e4eb385d6572ba8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1b9ca38d9d06d319fffd61d27e4eb385d6572ba8
2011-10-27 14:34:45+02:00
alacdec: check for buffer allocation failure. Also rearranges some functions for easier cleanup on failure.
53df079a730043cd0aa330c9aba7950034b1424f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/53df079a730043cd0aa330c9aba7950034b1424f
2011-10-26 11:50:16-04:00
configure: move code out of main of check_exec_crash() Tested-by: Hendrik Leppkes <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
d000c5ae7e375ddf45215c550e9b2b815d3677af
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d000c5ae7e375ddf45215c550e9b2b815d3677af
2011-10-22 01:51:29+02:00
pcm: reduce pointer type casting Making 'samples' a pointer to uint8_t simplifies the DECODE macro and reduces the amount of type casting overall. This also fixes some signed overflows on left shift. Signed-off-by: Mans Rullgard <[email protected]>
b45eb9d619d4a039a44bcd1dd82ec70ad29819f0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b45eb9d619d4a039a44bcd1dd82ec70ad29819f0
2011-10-13 17:56:13+01:00
motion_est: fix some signed overflows Signed-off-by: Mans Rullgard <[email protected]>
e708afd3c026a9eb547dab07781320a7e2564312
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e708afd3c026a9eb547dab07781320a7e2564312
2011-10-08 20:03:55+01:00
dca: fix signed overflow in shift Signed-off-by: Mans Rullgard <[email protected]>
559c244d42be7a02c23976216b47fd63b80d6c7f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/559c244d42be7a02c23976216b47fd63b80d6c7f
2011-10-08 20:03:55+01:00
wmavoice: Check for corrupted extra data Signed-off-by: Janne Grunau <[email protected]>
d99427cb8ba099375d8cce6df808d4acf045ab43
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d99427cb8ba099375d8cce6df808d4acf045ab43
2011-10-07 16:25:31+02:00
mpegvideo: increase emu edge buffer size This fixes a crash with 422 H.264 Signed-off-by: Michael Niedermayer <[email protected]>
7322483d72d4abefae9f5c08c611f521de7236a5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7322483d72d4abefae9f5c08c611f521de7236a5
2011-10-01 01:16:25+02:00
Check for corrupted extra data in wmavoice decoder. Signed-off-by: Michael Niedermayer <[email protected]>
61930119cbff7572ebe7ade6cd9268becbec37f4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/61930119cbff7572ebe7ade6cd9268becbec37f4
2011-09-28 00:20:04+02:00
flacdec: fix buffer size checking in get_metadata_size() Adds an additional check before reading the next block header and avoids a potential integer overflow when checking the metadata size against the remaining buffer size.
4c5e7b27d57dd2be777780e840eef9be63242158
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4c5e7b27d57dd2be777780e840eef9be63242158
2011-09-26 15:29:45-04:00
Fixed deference of NULL pointer in motionpixels decoder. Some of the arguments given to init_vlc() come from the stream and can be corrupted. Signed-off-by: Janne Grunau <[email protected]>
69a0bce753a5d5556d5bc0888afe390e22611dd8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/69a0bce753a5d5556d5bc0888afe390e22611dd8
2011-10-06 22:29:12+02:00
flvdec: Inject in stream extradata, into the stream. The code before was unsafe, had a race condition and could crash. This Fixes Ticket499 Signed-off-by: Michael Niedermayer <[email protected]>
6d789f50d261e4c0c2a8b02edbb86fd77247322c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6d789f50d261e4c0c2a8b02edbb86fd77247322c
2011-09-23 06:02:17+02:00
Fix potential overreads in rv34 decoder. Signed-off-by: Michael Niedermayer <[email protected]>
9a0a64cb26bc6aaa7f29106bded8a27f3db918ee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9a0a64cb26bc6aaa7f29106bded8a27f3db918ee
2011-09-17 17:38:26+02:00
dshow: invert condition to avoid leaking objects Signed-off-by: Stefano Sabatini <[email protected]>
215e197942e33d5c5749d786e938bf7abe856c1d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/215e197942e33d5c5749d786e938bf7abe856c1d
2011-09-16 11:16:05+02:00
Fixed invalid read access on extra data in cinepak decoder. Signed-off-by: Michael Niedermayer <[email protected]>
dc255275f6293a060518271a151e1ce75499e874
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dc255275f6293a060518271a151e1ce75499e874
2011-09-11 21:19:46+02:00
vf_scale: don't leak SWS context. Signed-off-by: Anton Khirnov <[email protected]>
52982dbe474663709033e1ad259f8ff7a5a2eefa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/52982dbe474663709033e1ad259f8ff7a5a2eefa
2011-08-27 17:23:45+02:00
lavf: Add an option to discard corrupted frames Signed-off-by: Zohar Kelrich <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
73e8e8dbf969b9a0bc1591abcfeba474a42e47bc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/73e8e8dbf969b9a0bc1591abcfeba474a42e47bc
2011-08-02 02:52:41+02:00
mmsh: fixed printf injection bug in mmsh request
a0bafaabb0656ca3bb3591beba0de79f6153fdac
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a0bafaabb0656ca3bb3591beba0de79f6153fdac
2011-06-16 03:15:21+02:00
libx264: fix double free
1e9b3026908e556d1a2b6afb76d48df9272f8f95
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1e9b3026908e556d1a2b6afb76d48df9272f8f95
2011-06-08 02:07:36+02:00
utils.c: fix crash with threading enabled.
ceff045dbecb63bbe42da6d7d33f614ae67fbebd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ceff045dbecb63bbe42da6d7d33f614ae67fbebd
2011-06-06 10:31:01-04:00
configure: Drop check for availability of ten assembler operands. This was done to support gcc 2.95, which is an old legacy compiler that fails to compile the current codebase anyway.
d2ee495fb241fa4ef5b8b56161328c4379d1c79a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d2ee495fb241fa4ef5b8b56161328c4379d1c79a
2011-06-28 13:14:37+02:00
configure: Add -U__STRICT_ANSI__ to CPPFLAGS on Cygwin and DOS. In -std=c99 mode GCC defines __STRICT_ANSI__ to hide non-ANSI interfaces. This causes declarations for some POSIX functions to be omitted from system headers, which causes compilation failures.
a7a187a1beb8551101b592bf85f0f31a0db22f61
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a7a187a1beb8551101b592bf85f0f31a0db22f61
2011-05-23 22:51:14+02:00
get_bits: make cache unsigned to eliminate undefined signed overflow.
47bc52f8216d9de3e50160adb929620ac31ede99
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/47bc52f8216d9de3e50160adb929620ac31ede99
2011-05-03 21:14:39-07:00
AMV: disable DR1 and don't override EMU_EDGE This works around a possibly exploitable crash. Appearently, vlc can be exploited with a malicous file. This should get reverted as soon as a proper fix is found. Reported-at: Thu, 21 Apr 2011 14:38:25 +0000 Reported-by: Dominic Chell <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 89f903b3d5ec38c9c5d90fba7e626fa0eda61a32) (cherry picked from commit 9b919571e506fbb72b81a35ca1e7c1bd6efc4209)
7089265756a84bf884a7c2290c6cda38d4dfd60f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7089265756a84bf884a7c2290c6cda38d4dfd60f
2011-04-29 22:46:13+02:00
Fix races in default av_log handler Prevent competing threads from overwriting (shared) buffers. Original patch by: Michael Niedermayer <[email protected]>
0247bdee2581a6857a24c5ff297f01d3a3112b11
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0247bdee2581a6857a24c5ff297f01d3a3112b11
2011-04-29 22:46:13+02:00
Provide a fallback version of the libm function trunc This fixes compilation on DOS. Signed-off-by: Martin Storsjö <[email protected]>
23d3931a6a8a37bb7e86bd6cb4709eb46031bfe1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/23d3931a6a8a37bb7e86bd6cb4709eb46031bfe1
2011-04-21 14:13:09+03:00
graphparser: add a NULL check on the argument passed to strstr Fix crash in create_filter() which occurrs if a scale filter with no args is provided.
2f86e7bd12d8023da3349f10490b1e5b64531e23
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2f86e7bd12d8023da3349f10490b1e5b64531e23
2011-03-30 22:16:08+02:00
mmst: fix reading uninitialized data for ping packets. Fixes errors after a few minutes (first ping) when playing back mmst://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
275189a2bd71cf49d66374c44d3de2262d323460
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/275189a2bd71cf49d66374c44d3de2262d323460
2011-02-14 09:55:14-05:00
Fix valgrind invalid read on top MB rows with CODEC_FLAG_EMU_EDGE set. Originally committed as revision 26168 to svn://svn.ffmpeg.org/ffmpeg/trunk
7148da489e4991c88eeff9cd6238ad6e273613b5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7148da489e4991c88eeff9cd6238ad6e273613b5
2010-12-30 14:33:21+00:00
Add missing check on the existence of an associated output pad for each specified output link label. Fix crash. Originally committed as revision 25723 to svn://svn.ffmpeg.org/ffmpeg/trunk
668673f10ce225d26a96f1aeb62066e8c641c85a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/668673f10ce225d26a96f1aeb62066e8c641c85a
2010-11-11 22:41:22+00:00
movdec: Free the previous extradata If multiple stsd atoms are parsed for the same stream, the old extradata would be leaked. Originally committed as revision 25360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2f412421e8bb1927fcd866777dfedf223c9dfdfb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2f412421e8bb1927fcd866777dfedf223c9dfdfb
2010-10-05 21:36:30+00:00
Fix possibly exploitable out of buffer writes in msrle_decode_pal4(). This fix is minimalistic, that function should be cleaned up by someone. Originally committed as revision 25633 to svn://svn.ffmpeg.org/ffmpeg/trunk
7d78a964413a50409b1db441d966cd2810eb6c86
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7d78a964413a50409b1db441d966cd2810eb6c86
2010-11-02 01:19:15+00:00
movenc: Free the buffer returned by url_close_dyn_buffer, regardless of the size This fixes a leak introduced in rev 23942, since we write padding to the buffer unconditionally. Originally committed as revision 24342 to svn://svn.ffmpeg.org/ffmpeg/trunk
8b6e0aec9fb07b0d1286e3ff5d858e22d09dc83c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8b6e0aec9fb07b0d1286e3ff5d858e22d09dc83c
2010-07-20 05:23:28+00:00
ffserver: Plug some memory leaks Patch by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23290 to svn://svn.ffmpeg.org/ffmpeg/trunk
ea4f8aabab2a5a7ebd232b45557c11c4c59c332b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ea4f8aabab2a5a7ebd232b45557c11c4c59c332b
2010-05-24 19:05:22+00:00
Zero-initialize the reply struct The status_code field is read in the fail codepath, where it could be read uninitialized earlier. Found by clang. Originally committed as revision 22801 to svn://svn.ffmpeg.org/ffmpeg/trunk
3370289a4c159ae6734ca1d85d2ded7d93e0eaf4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3370289a4c159ae6734ca1d85d2ded7d93e0eaf4
2010-04-04 21:59:06+00:00
Another uninitialized value. See http://tranquillity.ath.cx/clang/2010-03-30-1/report-e6KUTb.html#EndPath Originally committed as revision 22783 to svn://svn.ffmpeg.org/ffmpeg/trunk
7b374c9ff2a12243222e594df641906f2e2b0cd6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7b374c9ff2a12243222e594df641906f2e2b0cd6
2010-04-02 14:58:55+00:00
H264: fix signed overflow in constant multiplication This fixes libavcodec/h264.h:1100: warning: integer overflow in expression Originally committed as revision 22558 to svn://svn.ffmpeg.org/ffmpeg/trunk
404793f4ac57fe7615da4fd03cefe9438d1b1fbd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/404793f4ac57fe7615da4fd03cefe9438d1b1fbd
2010-03-15 23:00:53+00:00
Fix a crash in the H.263 RTP packetizer If size == 1 and buf[0] == 0 and buf[1] == 0 (the first byte after the buffer), it would set size = -1 and crash in the later memcpy. Originally committed as revision 22469 to svn://svn.ffmpeg.org/ffmpeg/trunk
34056cbba55f0131e8d2698717ab9e86e2da5178
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/34056cbba55f0131e8d2698717ab9e86e2da5178
2010-03-11 16:26:14+00:00
Free metadata in chained RTP muxers in the RTSP muxer This fixes a minor memory leak Originally committed as revision 21970 to svn://svn.ffmpeg.org/ffmpeg/trunk
f86f66562311f38b6b7864c19720727916fb0d19
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f86f66562311f38b6b7864c19720727916fb0d19
2010-02-22 21:20:30+00:00
Stricter check for math.h functions GCC is sometimes able to optimise constant calls to these functions, incorrectly indicating that they exist. Unoptimised calls will then fail to link. Originally committed as revision 21749 to svn://svn.ffmpeg.org/ffmpeg/trunk
33bd38dbd3f5d8c06c6229f6f404ba664027a618
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/33bd38dbd3f5d8c06c6229f6f404ba664027a618
2010-02-10 22:14:28+00:00
Move dquant check into qscale overflow check. This should be faster (couldnt meassue a difference), and its less picky on slightly out of spec dquant. Originally committed as revision 21373 to svn://svn.ffmpeg.org/ffmpeg/trunk
1f445f5473eda9ca35dae342147afb7e2c3eb5f7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1f445f5473eda9ca35dae342147afb7e2c3eb5f7
2010-01-21 21:01:26+00:00
Use an unsigned int to contain all the color values of the expressions of the type 0xRRGBBAA parsed by av_parse_color(), using a simple int was resulting in unexpected results as the most significant bit was used for the sign. Originally committed as revision 20778 to svn://svn.ffmpeg.org/ffmpeg/trunk
7d132c544b2447ef5a6b04ca6f21e245d6a48986
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7d132c544b2447ef5a6b04ca6f21e245d6a48986
2009-12-08 22:00:07+00:00
Check codec_id and codec_type in avcodec_open(), based on 43_codec_type_mismatch.patch from chrome This is said to be able to lead to a stack based buffer overflow. Originally committed as revision 19973 to svn://svn.ffmpeg.org/ffmpeg/trunk
4c0dda2b3f45471faa233c62205e712fb072a76b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4c0dda2b3f45471faa233c62205e712fb072a76b
2009-09-22 22:44:56+00:00
Fix overflow check insufficiently improved in r19840. It assumes that sizeof(vmd_frame) < 64k, otherwise an additional check to ensure sound_buffers <= UINT_MAX / sizeof(vmd_frame) would be necessary. Originally committed as revision 19882 to svn://svn.ffmpeg.org/ffmpeg/trunk
0d6da4b83130337969ab35f12911923ab7200bbb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0d6da4b83130337969ab35f12911923ab7200bbb
2009-09-16 15:12:23+00:00
rmdec: fix crash at end of file Originally committed as revision 18018 to svn://svn.ffmpeg.org/ffmpeg/trunk
c3df4a3bfefbab046829bb1fc7d7a2d85e4344fc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c3df4a3bfefbab046829bb1fc7d7a2d85e4344fc
2009-03-16 20:22:39+00:00
Reduce allocated length of the HTTP authentication request field buffer, as noticed by Stefano and Luca in the "[PATCH]RTSP Basic Authentication" mailinglist thread. av_base64_encode() was recently changed. The previous implementation required 12 extra bytes (ceil(len(src)/3.)*4+12), whereas the new one is guaranteed to fit in an exact buffer (ceil(len(src)/3.)*4), plus one extra byte for the trailing zero. This change fixes no bug, it just slightly decreases the amount of allocated memory. Originally committed as revision 17761 to svn://svn.ffmpeg.org/ffmpeg/trunk
d176f9038711e497b32f1431e60e4e3da94179d1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d176f9038711e497b32f1431e60e4e3da94179d1
2009-03-03 13:26:17+00:00
Do not read uninitialized buffer, no matter if it will be multiplied by zero later. This should fix some valgrind warnings and hopefully FATE ra144 test on ARM. Originally committed as revision 17677 to svn://svn.ffmpeg.org/ffmpeg/trunk
9e27e0d4f825e97104333e3006f450f566935af0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9e27e0d4f825e97104333e3006f450f566935af0
2009-03-01 11:14:21+00:00
Check return value of posix_memalign and explicitly set pointer to NULL if it fails, patch by Patrik Kullman, patrik yes nu. Originally committed as revision 17495 to svn://svn.ffmpeg.org/ffmpeg/trunk
a90de11dba816f57d01cf10b02eaaf90de24d5bb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a90de11dba816f57d01cf10b02eaaf90de24d5bb
2009-02-21 20:38:27+00:00
Prevent heap corruption when resampling 8-bit audio. Originally committed as revision 17311 to svn://svn.ffmpeg.org/ffmpeg/trunk
5f5e6af16982c172997abc75ff7a401124dd3dda
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5f5e6af16982c172997abc75ff7a401124dd3dda
2009-02-15 06:29:43+00:00
AAC: Don't write an illegal sampling_index in a PCE to the MPEG4AudioConfig member Patch by Alex Converse (alex converse gmail com) Originally committed as revision 16249 to svn://svn.ffmpeg.org/ffmpeg/trunk
99665a21f4cfe0747740b91d4e5768cffa4fe862
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/99665a21f4cfe0747740b91d4e5768cffa4fe862
2008-12-21 05:08:32+00:00
silence gcc warning: ‘n_bands’ may be used uninitialized Originally committed as revision 15999 to svn://svn.ffmpeg.org/ffmpeg/trunk
f23dc1e1f9ee3a00db951d3dec7d5bfb0e04dae8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f23dc1e1f9ee3a00db951d3dec7d5bfb0e04dae8
2008-12-04 02:56:25+00:00
Do not attempt to use the unscaled yuv2rgb converter when height is odd because it will overflow the buffer by 1 line. This might have been exploitable. Originally committed as revision 27826 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
9b0d44ef678a1c1997213e3eb5cc68a11d4b3960
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9b0d44ef678a1c1997213e3eb5cc68a11d4b3960
2008-10-25 15:00:28+00:00
Search /usr(/local)/share for preset files as well. This also fixed a null pointer dereference if HOME isnt set. Originally committed as revision 13708 to svn://svn.ffmpeg.org/ffmpeg/trunk
23b20b5cf34e2c78ddc5c7a52ca787402eab9d52
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/23b20b5cf34e2c78ddc5c7a52ca787402eab9d52
2008-06-08 10:48:23+00:00
Use an intermediate variable for overflow testing Originally committed as revision 13283 to svn://svn.ffmpeg.org/ffmpeg/trunk
13b6729361d45b9f308d731dd6b82dac01428dc3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/13b6729361d45b9f308d731dd6b82dac01428dc3
2008-05-24 16:38:48+00:00
10l, protect malloc overflow Originally committed as revision 12205 to svn://svn.ffmpeg.org/ffmpeg/trunk
9c7fd997f794d3180ef4cbde019e4827ff309988
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9c7fd997f794d3180ef4cbde019e4827ff309988
2008-02-25 12:38:37+00:00
Fix a possible use of an uninitialized pointer. Originally committed as revision 11857 to svn://svn.ffmpeg.org/ffmpeg/trunk
cd41a73f89708bcccf8c4d4b9857ea5ef529e1a1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cd41a73f89708bcccf8c4d4b9857ea5ef529e1a1
2008-02-04 12:13:09+00:00
init to 0, fix warning: mpegenc.c:1022: warning: 'avail_space' may be used uninitialized in this function Originally committed as revision 11683 to svn://svn.ffmpeg.org/ffmpeg/trunk
febc8fad0c49bcbcfbdc07af4a04e2e9abec7c61
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/febc8fad0c49bcbcfbdc07af4a04e2e9abec7c61
2008-01-31 00:27:51+00:00
init to 0, fix warning: h263.c:4730: warning: 'dc_pred_dir' may be used uninitialized in this function Originally committed as revision 11677 to svn://svn.ffmpeg.org/ffmpeg/trunk
3fbe36d4d0eaad5ed855b0418a841c70d0cdbcb3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3fbe36d4d0eaad5ed855b0418a841c70d0cdbcb3
2008-01-31 00:05:44+00:00
Fix a bug causing the generated stream to be corrupt if the buffer contains NAL units previous to the IDR where the SPS/PPS was inserted. Ok:ed by Benoit on irc. Originally committed as revision 11482 to svn://svn.ffmpeg.org/ffmpeg/trunk
48aecf5a7dd8e914d44cb4210a09172dbd8d5d86
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/48aecf5a7dd8e914d44cb4210a09172dbd8d5d86
2008-01-09 08:38:28+00:00
Correct initial timestamp Patch by Wolfram Gloger: [wmglo $ dent med uni-muenchen de] Original thread: [FFmpeg-devel] [PATCH] av_estimate_timings_from_pts corrupt timestamps date: 08/25/2007 09:51 PM Originally committed as revision 10405 to svn://svn.ffmpeg.org/ffmpeg/trunk
cc5297e871f2a30b62b972c6479ab1d4fdc14132
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cc5297e871f2a30b62b972c6479ab1d4fdc14132
2007-09-05 14:11:33+00:00
check udp_read_packet return value not to access uninitialized memory patch by Eric Paul: [eric paul gmail com] original thread: [FFmpeg-devel] [PATCH] : libavformat segfault when a RTSP reading is interrupted date: 07/05/2007 03:13 PM Originally committed as revision 9492 to svn://svn.ffmpeg.org/ffmpeg/trunk
74ef8b434d8d8ef02bee6a5394da849136ed1bf1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/74ef8b434d8d8ef02bee6a5394da849136ed1bf1
2007-07-05 20:58:34+00:00
Correct the parameter order for the call to "av_clip". Patch by Harald Karnet, harald karner % gmx net. Thread [FFmpeg-devel] [PATCH] Bugfix H.263+ encoder frame header corruption Originally committed as revision 9131 to svn://svn.ffmpeg.org/ffmpeg/trunk
f1edd8ef90fb730effe62c6227586d8c121c9499
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f1edd8ef90fb730effe62c6227586d8c121c9499
2007-05-25 14:42:11+00:00
more detailed error message for buffer underflow patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de Originally committed as revision 8859 to svn://svn.ffmpeg.org/ffmpeg/trunk
268fc08290a0d55461d11d81ec2244c26047480d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/268fc08290a0d55461d11d81ec2244c26047480d
2007-04-30 09:43:29+00:00
Fix an use-after-free bug Originally committed as revision 8759 to svn://svn.ffmpeg.org/ffmpeg/trunk
b0b2faa70995caf710bf49c7c6eb6dc502a67672
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b0b2faa70995caf710bf49c7c6eb6dc502a67672
2007-04-19 13:55:06+00:00
optimize linear filter coeff interpolation code, this also makes the code less prone to overflows Originally committed as revision 8480 to svn://svn.ffmpeg.org/ffmpeg/trunk
303bd95cd2a8c2df5f0726dd2e435bb31d44aced
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/303bd95cd2a8c2df5f0726dd2e435bb31d44aced
2007-03-22 11:10:30+00:00
not checking error return, resulting double free returning uninitalized pointers Originally committed as revision 8002 to svn://svn.ffmpeg.org/ffmpeg/trunk
49c8132b17ec26666d71ee94a50f421b84feeb35
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/49c8132b17ec26666d71ee94a50f421b84feeb35
2007-02-17 02:46:47+00:00
fix segfault with darkkben.free.fr/corrupted_h264.mp4 Originally committed as revision 7671 to svn://svn.ffmpeg.org/ffmpeg/trunk
08eb8fcdbfdd4d32e0177c9aff580022ca102fc8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/08eb8fcdbfdd4d32e0177c9aff580022ca102fc8
2007-01-23 19:32:26+00:00
preempt possible overflow Originally committed as revision 6881 to svn://svn.ffmpeg.org/ffmpeg/trunk
bda2203d5652ceaf40e57b47c3e81f9340403ec2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bda2203d5652ceaf40e57b47c3e81f9340403ec2
2006-11-03 11:07:35+00:00
Tests for overreading input data Originally committed as revision 6184 to svn://svn.ffmpeg.org/ffmpeg/trunk
096bc417ae9b5bf35631d48fbc798020aac08aee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/096bc417ae9b5bf35631d48fbc798020aac08aee
2006-09-07 04:05:04+00:00
overread AV_LOG_ERROR -> AV_LOG_DEBUG Originally committed as revision 6111 to svn://svn.ffmpeg.org/ffmpeg/trunk
ee3bc9d386eb821e27c57adc2d9bc0766c89289d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ee3bc9d386eb821e27c57adc2d9bc0766c89289d
2006-08-27 21:45:26+00:00
Don't read out-of-bounds values. Originally committed as revision 5650 to svn://svn.ffmpeg.org/ffmpeg/trunk
928dc49d0e37db50a9d1359ef910cb1856aabfaf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/928dc49d0e37db50a9d1359ef910cb1856aabfaf
2006-07-07 04:50:13+00:00
Support for MacIntel, take xx: '/nop' illegal for old versions of GAS Patch by John Dalgliesh % johnd AH defyne P org % Original thread: Date: Aug 8, 2006 8:12 PM Subject: Re: [Ffmpeg-devel] [PATCH] '/nop' illegal for old versions of GAS Originally committed as revision 5972 to svn://svn.ffmpeg.org/ffmpeg/trunk
347be47226b979b4b32140ef87aba36570c1fe43
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/347be47226b979b4b32140ef87aba36570c1fe43
2006-08-10 15:26:18+00:00
rm_read_audio_stream_info return type is not void Check for errors returned by rm_read_audio_stream_info Check for overflow in aac extradata allocation Originally committed as revision 5455 to svn://svn.ffmpeg.org/ffmpeg/trunk
a9d4a6ef3437d316450c2e30b9ed6a8fd4df4804
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a9d4a6ef3437d316450c2e30b9ed6a8fd4df4804
2006-06-04 21:01:02+00:00
fix a crash on x86_64 Originally committed as revision 5360 to svn://svn.ffmpeg.org/ffmpeg/trunk
24efb5e51b97e0f84c6cb62e6f2d6a469431fa55
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/24efb5e51b97e0f84c6cb62e6f2d6a469431fa55
2006-05-11 00:06:50+00:00
Moving dv_anchor back to the global scope. This creates a tiny memory leak for cases like dlopening libavcodec.so and such, but I still don't know how to catch such events. Originally committed as revision 4818 to svn://svn.ffmpeg.org/ffmpeg/trunk
aa06658248a49f6ebf381894b9426cdfb377cd32
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aa06658248a49f6ebf381894b9426cdfb377cd32
2006-01-06 19:19:39+00:00
fix crash on negative POC Originally committed as revision 4278 to svn://svn.ffmpeg.org/ffmpeg/trunk
29860cc88caaf1c4852e5ba18ea15e0516039c14
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/29860cc88caaf1c4852e5ba18ea15e0516039c14
2005-05-19 04:48:06+00:00
fix overflow in mc_block() patch by (Yartrebo )yartrebo earthlink net Originally committed as revision 4132 to svn://svn.ffmpeg.org/ffmpeg/trunk
8c2515bbb9800a3cdcc28aa19133302ba5f2da45
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8c2515bbb9800a3cdcc28aa19133302ba5f2da45
2005-04-17 09:27:53+00:00
buffer overflow in sdp_probe() fix by (Gildas Bazin )gbazin altern org) Originally committed as revision 4049 to svn://svn.ffmpeg.org/ffmpeg/trunk
0e1ceacde98f912de8604ea7ebe321a1790bd4b6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0e1ceacde98f912de8604ea7ebe321a1790bd4b6
2005-03-16 19:06:34+00:00
check mb/me_threshold range, fixes assertion failure Originally committed as revision 4082 to svn://svn.ffmpeg.org/ffmpeg/trunk
cec1f05fd7d64c208388b6c57f82a8bc75f4981e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cec1f05fd7d64c208388b6c57f82a8bc75f4981e
2005-03-26 18:10:44+00:00