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
Check for avio fail in avformat_write_header, av_write_frame With minor changes by michael Signed-off-by: Michael Niedermayer <[email protected]>
aec9390a9d38014615d569ecaf392b22f693e4b6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aec9390a9d38014615d569ecaf392b22f693e4b6
2012-08-14 16:25:53+02:00
g723_1dec: remove dead code that leaked in from libav It appears someone thinks this special case can be reached Well, it cannot, thus not only do we not need to optimize it we dont need it at all Signed-off-by: Michael Niedermayer <[email protected]>
20035fa24103da9199de3515ca75ba1f6bb275aa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/20035fa24103da9199de3515ca75ba1f6bb275aa
2012-08-13 15:02:21+02:00
lavu/opt: fix crash in av_opt_next() in case the class has no options
a6d6b8a20072a5919d38258dd48cc612e2372f81
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a6d6b8a20072a5919d38258dd48cc612e2372f81
2012-08-10 23:14:37+02:00
v4l2: remove call to v4l2_fd_open. v4l2_fd_open is already called at the end of v4l2_open; calling a second time leaks structures inside libv4l2. Fix trac ticket #1560.
fd58678b86023ea98665f06756bf03f91e56be54
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fd58678b86023ea98665f06756bf03f91e56be54
2012-07-20 21:12:10+02:00
Revert "wmapro: prevent division by zero when sample rate is unspecified" This reverts commit 36936080239ba9e162f9f5d0f722ce579cb606cf. It was already applied; no idea why it didn't error out while re-applying it.
66adb7ce1bc1cc5e3f1c4b1cd9f20ac68086a486
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/66adb7ce1bc1cc5e3f1c4b1cd9f20ac68086a486
2012-08-03 12:06:38-07:00
checkheaders: Fix directory creation in out-of-tree builds. checkheaders wasn't creating folders as needed, so if it was run immediately after the configure script it would fail as soon as it tried to compile headers inside the ARCH folders. Signed-off-by: Alexander Strasser <[email protected]>
7c5466d4fc2e198ba2cac9d5b1d076613fd0b120
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7c5466d4fc2e198ba2cac9d5b1d076613fd0b120
2012-08-07 22:34:10+02:00
asplit: don't leak the input buffer.
083d0f6be8a22ce936c4be6f17977104e516434f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/083d0f6be8a22ce936c4be6f17977104e516434f
2012-07-09 08:22:11+02:00
lpc: use default number of passes when lpc_passes is invalid Should fix valgrind failure (uninitialized vars) Signed-off-by: Michael Niedermayer <[email protected]>
894319e010c8db4d47ba0ad830f9677b72d5ece9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/894319e010c8db4d47ba0ad830f9677b72d5ece9
2012-07-06 04:04:10+02:00
ffmpeg: use isatty() before messing with the terminal state This fixes terminal messup in case of crashes (like in make fate) Reviewed-by: François Revol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
c8a11014b673ebc6946db6fcd20009d330c57c48
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c8a11014b673ebc6946db6fcd20009d330c57c48
2012-06-06 03:54:02+02:00
src_buffer: propagate errors from copy_buffer_ref() Fixes a null ptr deref Signed-off-by: Michael Niedermayer <[email protected]>
ac87c273a646eb8feba8e47f15da4934d119f650
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ac87c273a646eb8feba8e47f15da4934d119f650
2012-05-17 04:48:05+02:00
rtpdec_h264: Remove useless memory corruption checks Signed-off-by: Martin Storsjö <[email protected]>
5a571d324129ce367584ad9d92aae1d286f389a2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5a571d324129ce367584ad9d92aae1d286f389a2
2012-05-05 03:09:53+03:00
twinvq: fix out of bounds array access ModeTab.fmode has only 3 elements, so indexing it with ftype in the initialier for 'size' is invalid when ftype == FT_PPC. This fixes crashes with gcc 4.8. Signed-off-by: Mans Rullgard <[email protected]>
4bf2e7c5f1c0ad3997fd7c9859c16db8e4e16df6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4bf2e7c5f1c0ad3997fd7c9859c16db8e4e16df6
2012-05-01 20:17:07+01:00
iff: fix null ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
41abc9da50ba7a7b68bbbf6622475ce7a3c72e3f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/41abc9da50ba7a7b68bbbf6622475ce7a3c72e3f
2012-04-22 17:27:54+02:00
avidec: Dont crash on avi packets that belong to dv streams in dv in avi Fixes null pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
096231d497457be9496b0be01ff6da2093186c3c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/096231d497457be9496b0be01ff6da2093186c3c
2012-04-17 17:58:19+02:00
flvdec: allocate large enough buffer so get_bits() doesnt overread Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c4ce8709676a6f0b41761093b0da08de72799ba9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c4ce8709676a6f0b41761093b0da08de72799ba9
2012-04-16 12:01:55+02:00
indeo5: check against scaleable frames in non scaleable streams. Fixes a null ptr dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
fa5dacce143f3fbe8eac14d5a99e926b2787e9e6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fa5dacce143f3fbe8eac14d5a99e926b2787e9e6
2012-04-22 12:09:59+02:00
pthread: Fix crash due to fctx->delaying not being cleared. Reproducible with test case and ffplay -threads 2. Stack trace: http://pastebin.com/PexZ4Uc0 Test case: http://commondatastorage.googleapis.com/dalecurtis-shared/crash.ogm Signed-off-by: Dale Curtis <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
97ae370078e5ee8e78269fe4d7b4f457e82bd758
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/97ae370078e5ee8e78269fe4d7b4f457e82bd758
2012-04-12 21:32:01-07:00
avplay: Don't try to scale timestamps if the tb isn't set If get_filtered_video_frame failed above, tb might not be initialized at all, so don't scale using it. This fixes cases where avplay could crash if aborting avformat_find_stream_info with ctrl+c. Signed-off-by: Martin Storsjö <[email protected]>
951e715cebfaffced7f13c1525771ff917fe1d38
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/951e715cebfaffced7f13c1525771ff917fe1d38
2012-04-06 20:49:23+03:00
vc1dec: Fix global array overread. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
a60a4d704149ab51bd27b63ae763c1d26d075013
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a60a4d704149ab51bd27b63ae763c1d26d075013
2012-03-28 10:44:43+02:00
apedec: fix global array overread Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
8db2935db0caa8efbef009994920ef6a20289496
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8db2935db0caa8efbef009994920ef6a20289496
2012-03-28 10:30:44+02:00
utvideo: port header reading to bytestream2. Fixes crash during slice size reading if slice_end goes negative. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
ec0ed97b046d46421db72c4911d2bbe28bbe5741
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ec0ed97b046d46421db72c4911d2bbe28bbe5741
2012-03-24 15:15:56-07:00
lavc/jpeglsenc: fix allocation in case of negative linesize, and add malloc check Fix crash with negative linesizes, fix trac ticket #1078.
0ca15aa066f1fad20853f5a560f13688d095ea81
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0ca15aa066f1fad20853f5a560f13688d095ea81
2012-03-18 21:19:09+01:00
ttadec: fix invalid free when an error occurs while decoding 24-bit tta
6ab681a4c1ffc0d5c36ebf13a10e0ecc61c81429
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6ab681a4c1ffc0d5c36ebf13a10e0ecc61c81429
2012-02-10 20:35:10-05:00
dfa: convert to bytestream2 API Protects from overreads. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Ronald S. Bultje <[email protected]>
29b0d94b43ac960cb442049a5d737a3386ff0337
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/29b0d94b43ac960cb442049a5d737a3386ff0337
2012-03-12 21:47:40-07:00
Revert "h264: clear trailing bits in partially parsed NAL units" This reverts commit 729ebb2f185244b0ff06d48edbbbbb02ceb4ed4e. There was an off-by-one error in the bit mask calculation clearing actually the last valid bit and causing http://bugzilla.libav.org/show_bug.cgi?id=227 The broken sample (Mr_MrsSmith-h264_aac.mp4) the commit was fixing does not work after correcting the off-by-one error. CC: [email protected]
8a6037c3900875ccab8d553d2cc659bdef2c9d0e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8a6037c3900875ccab8d553d2cc659bdef2c9d0e
2012-03-12 22:46:56+01:00
FATE: use $fuzz directly in do_tiny_psnr() instead of passing it around
0720d263ea2bdd28cd3be1d1e802d49d7c680b8c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0720d263ea2bdd28cd3be1d1e802d49d7c680b8c
2012-03-15 12:06:56-04:00
smacker: error out if palette copy-with-offset overruns palette size. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
a93b572ae4f517ce0c35cf085167c318e9215908
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a93b572ae4f517ce0c35cf085167c318e9215908
2012-03-07 09:35:03-08:00
Don't use ff_cropTbl[] for IDCT. Results of IDCT can by far outreach the range of ff_cropTbl[], leading to overreads and potentially crashes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
c23acbaed40101c677dfcfbbfe0d2c230a8e8f44
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c23acbaed40101c677dfcfbbfe0d2c230a8e8f44
2012-03-06 10:47:42-08:00
truemotion1: Check input buffer size against header size. Fixes overread. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
e7b43e8e84e48fccf64cdc62430cb8b5c69e804c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e7b43e8e84e48fccf64cdc62430cb8b5c69e804c
2012-03-02 21:36:42+01:00
mpegaudiodec: Enable checked bitstream reader. It appears there are corner cases with damaged input that can lead to small overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
8263212e8659fed37a9ee77c15599610470b4ac5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8263212e8659fed37a9ee77c15599610470b4ac5
2012-03-01 06:39:48+01:00
vmnc: Fail if bpp is not recognized instead of crashing. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
6aca18a9a0b570b61d75ef351d3ca6bb104c04db
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6aca18a9a0b570b61d75ef351d3ca6bb104c04db
2012-02-29 06:27:38+01:00
truemotion2: error out if the huffman tree has no nodes. This prevents crashers and errors further down when reading nodes in the empty tree. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
2b83e8b7005d531bc78b0fd4f699e9faa54ce9bb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2b83e8b7005d531bc78b0fd4f699e9faa54ce9bb
2012-02-23 07:46:25-08:00
atrac3: Fix crash in tonal component decoding. Add a check to avoid writing past the end of the channel_unit.components[] array. Bug Found by: cosminamironesei Fixes CVE-2012-0853 CC: [email protected] Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
c509f4f74713b035a06f79cb4d00e708f5226bc5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c509f4f74713b035a06f79cb4d00e708f5226bc5
2012-02-16 15:18:45-05:00
rv40: prevent undefined signed overflow in rv40_loop_filter()
b54b40b33cd77fb135ae678c7726a1f8636e4b3e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b54b40b33cd77fb135ae678c7726a1f8636e4b3e
2012-02-14 14:42:55+01:00
h264: disallow constrained intra prediction modes for luma. Conversion of the luma intra prediction mode to one of the constrained ("alzheimer") ones can happen by crafting special bitstreams, causing a crash because we'll call a NULL function pointer for 16x16 block intra prediction, since constrained intra prediction functions are only implemented for chroma (8x8 blocks). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
45b7bd7c53b41bc5ff6fc2158831f2b1b1256113
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/45b7bd7c53b41bc5ff6fc2158831f2b1b1256113
2012-02-09 22:57:01-08:00
dv: Fix small overread in audio frequency table. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
0ab3687924457cb4fd81897bd39ab3cc5b699588
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0ab3687924457cb4fd81897bd39ab3cc5b699588
2012-02-09 19:16:15-08:00
dv: check stype Fixes part1 of CVE-2011-3929 Possibly fixes part of CVE-2011-3936 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Roman Shaposhnik <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
f9de136b17bc72ff02f39c6a53756d72bbc4bd15
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f9de136b17bc72ff02f39c6a53756d72bbc4bd15
2012-01-25 16:41:26+01:00
kvmc: Check palsize. Fixes: CVE-2011-3952 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
70dba1e3c856e86e1780c0a324abbce034f0c7da
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/70dba1e3c856e86e1780c0a324abbce034f0c7da
2012-01-26 17:30:49+01:00
error concealment: initialize block index. Fixes CVE-2011-3941 (out of bounds write) Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c77be3a35a0160d6af88056b0899f120f2eef38e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c77be3a35a0160d6af88056b0899f120f2eef38e
2012-01-24 21:08:41+01:00
aacenc: aac_encode_init() cleanup Macroify sanity checks and check return values of allocs and other functions. Signed-off-by: Alex Converse <[email protected]>
17ae608127324cabd083202a32a8dc210d30c3a1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/17ae608127324cabd083202a32a8dc210d30c3a1
2012-01-23 11:40:45-08:00
dpcm: Fix invalid writes Fixes bug: #152 Signed-off-by: Ronald S. Bultje <[email protected]>
529a25d6e5c3ff889257a57042872d84dc2312d5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/529a25d6e5c3ff889257a57042872d84dc2312d5
2012-01-08 13:13:11-08:00
dca: Fix uninitialized variable warnings. Signed-off-by: Michael Niedermayer <[email protected]>
53918a1c54b49e76c3ca517e2caada8372995712
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/53918a1c54b49e76c3ca517e2caada8372995712
2012-01-08 00:18:36+01:00
flicvideo: fix invalid reads Prevent invalid reads using bytestream2 functions. Fixes bug #126. Signed-off-by: Justin Ruggles <[email protected]>
b348c852aa8312d361123df0fa20e16feff7c2f1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b348c852aa8312d361123df0fa20e16feff7c2f1
2012-01-06 16:48:27-05:00
indeo5: Fix null pointer dereferences of ref_mb Reviewed-by: Derek Buitenhuis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
f41a6c8f3aeb51332bb359038cb504d3fb562a52
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f41a6c8f3aeb51332bb359038cb504d3fb562a52
2011-12-29 21:01:41+01:00
h264: Fix a possible overread in decode_nal_units() Signed-off-by: Anton Khirnov <[email protected]>
bc6a3bd4a544608211f006e2d2868cbed4e1fde6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bc6a3bd4a544608211f006e2d2868cbed4e1fde6
2011-12-23 08:32:18+01:00
kvmc: fix invalid reads Signed-off-by: Janne Grunau <[email protected]>
ad3161ec1d70291efcf40121d703ef73c0b08e5b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ad3161ec1d70291efcf40121d703ef73c0b08e5b
2011-12-23 00:11:19+01:00
4xm: Use bytestream2 functions to prevent overreads Fixes Bug 110. Signed-off-by: Justin Ruggles <[email protected]>
1443ea93d935784370f41d85e224718484b0e32c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1443ea93d935784370f41d85e224718484b0e32c
2011-12-20 13:17:09-05:00
h264: clear trailing bits in partially parsed NAL units Trailing bits are likely to be non-zero if the NAL unit is truncated. Clearing the bits make overreads of the bitstream less likely in this case. Fixes playback of http://streams.videolan.org/streams/mp4/Mr_MrsSmith-h264_aac.mp4 which has a forbidden byte sequence of 0x00 0x00 0x00 in it SPS.
729ebb2f185244b0ff06d48edbbbbb02ceb4ed4e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/729ebb2f185244b0ff06d48edbbbbb02ceb4ed4e
2011-12-19 23:14:21+01:00
swscale: fix overflow in gray16 vertical scaling. This fixes the same overflow as in the RGB48/16-bit YUV scaling; some filters can overflow both negatively and positively (e.g. spline/lanczos), so we bias a signed integer so it's "half signed" and "half unsigned", and can cover overflows in both directions while maintaining full 31-bit depth. Signed-off-by: Mans Rullgard <[email protected]>
72dafea0fc0eb7230d7ebb0a7bc803e13b72aaad
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/72dafea0fc0eb7230d7ebb0a7bc803e13b72aaad
2011-12-17 22:41:53+00:00
thpdemux: Check that packed sizes are within the files data size and filesize. Fixes Ticket774 Bug found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <[email protected]>
482ee63641f4fa50f017538af384aadbceee7a18
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/482ee63641f4fa50f017538af384aadbceee7a18
2011-12-16 05:35:04+01:00
h264: check chroma_format_idc range. Fixes Ticket758 Bug found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <[email protected]>
7fff64e00d886fde11d61958888c82b461cf99b9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7fff64e00d886fde11d61958888c82b461cf99b9
2011-12-15 02:43:03+01:00
4xm: check if there are bits left in decode_i_block() Fixed Ticket753 Bug Found by: Diana Elena Muscalu Signed-off-by: Michael Niedermayer <[email protected]>
e1ba29c76430ce511fd901c8b7a1bd199b169dc0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e1ba29c76430ce511fd901c8b7a1bd199b169dc0
2011-12-14 22:24:44+01:00
wmall: remove tabs that leaked in from a merge and seem to have managed to silently bypass the push checks. Signed-off-by: Michael Niedermayer <[email protected]>
dae7ff04160901a30a35af05f2f149b289c4f0b1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dae7ff04160901a30a35af05f2f149b289c4f0b1
2011-11-30 15:21:46+01:00
indeo3: fix null pointer dereference in vulnerable.mov Signed-off-by: Michael Niedermayer <[email protected]>
e421b79d01a3bf18d1ff8d8c4639669b66d788a5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e421b79d01a3bf18d1ff8d8c4639669b66d788a5
2011-11-24 22:39:23+01:00
aes: Avoid illegal read and don't generate more key than we use.
c9e5ac3380c8a8cebea222dbb3c3d95a9a93ee17
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c9e5ac3380c8a8cebea222dbb3c3d95a9a93ee17
2011-11-10 10:15:59-08:00
fraps: check for overread Fixeds Ticket619 Signed-off-by: Michael Niedermayer <[email protected]>
3bdfef31ac135add243f9ddde99d6b3cee953833
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3bdfef31ac135add243f9ddde99d6b3cee953833
2011-11-09 00:06:08+01:00
fix memory leak in oggenc Signed-off-by: Michael Niedermayer <[email protected]>
dacf07661467bc349d17bdab06516daceabffb23
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dacf07661467bc349d17bdab06516daceabffb23
2011-09-30 16:27:54+02:00
matroskaenc: Make sure the seekhead struct is freed even on seek failure The caller expects the seekhead struct to be freed when calling matroska_write_seekhead. Currently, the structure is leaked if the seek fails. Signed-off-by: Martin Storsjö <[email protected]>
44729bc0204fd8bdc29c234fc663229e44420b09
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/44729bc0204fd8bdc29c234fc663229e44420b09
2011-11-07 22:23:17+02:00
msmpeg4: 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.
a1684cf82d1aa35de0ae97724477501f92395c2b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a1684cf82d1aa35de0ae97724477501f92395c2b
2011-11-07 10:48:53-08:00
rtjpeg: check get_block return value for error. This avoids crashes due to reading out-of-bounds. Signed-off-by: Reimar Döffinger <[email protected]>
4e6413c67d3f80d24db2caa9ce5f030225e67e2f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4e6413c67d3f80d24db2caa9ce5f030225e67e2f
2011-11-05 23:25:20+01:00
rtmp: Don't try to do av_malloc(0) Some received packets can have size 0. The return value from av_malloc(0) may be NULL, which is ok if the size was 0. On OS X, however, the returned pointer is non-null but leads to crashes when trying to free it. Signed-off-by: Martin Storsjö <[email protected]>
271c869cc3285dac2b6f2663a87c70bf3ba2b04f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/271c869cc3285dac2b6f2663a87c70bf3ba2b04f
2011-05-25 22:00:42+03:00
vsrc_testsrc: fix off-by-one logic when detecting the EOF time in request_frame() Signed-off-by: Stefano Sabatini <[email protected]>
9f9b2ab1b1efce851394e8ff120fb150fa0efba1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9f9b2ab1b1efce851394e8ff120fb150fa0efba1
2011-10-25 23:38:56+02:00
tta: check for extradata allocation failure in tta demuxer
f540ca22c5fb4504d959c295f55591a9ec2a8859
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f540ca22c5fb4504d959c295f55591a9ec2a8859
2011-10-25 11:22:02-04:00
dnxhdenc: fixed signed multiplication overflow The low 32 bits of a multiplication are the same for signed and unsigned operands. Casting to unsigned before multiplying is thus equivalent while avoiding signed overflow, which is undefined by the C99 standard. Signed-off-by: Mans Rullgard <[email protected]>
d341d5fd2cd7e301a20dcb50f3e1445571765023
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d341d5fd2cd7e301a20dcb50f3e1445571765023
2011-10-14 20:45:22+01:00
id3v2: fix NULL pointer dereference Bug found by Laurent Aimar fenrir at videolan org
c780b543e72141393ae3c0b0cb2654f9a5e35f73
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c780b543e72141393ae3c0b0cb2654f9a5e35f73
2011-10-11 14:56:41+02:00
adpcm: fix out of bound reads due to integer overflow Signed-off-by: Janne Grunau <[email protected]>
c7f89064e2f0fef8198aadf64b0daf12787404ee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c7f89064e2f0fef8198aadf64b0daf12787404ee
2011-10-10 21:36:12+02:00
xan: Prevent out of bound accesses Signed-off-by: Janne Grunau <[email protected]>
124a16f678ddcffe8f1825efb29a6e8da1d580ac
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/124a16f678ddcffe8f1825efb29a6e8da1d580ac
2011-10-07 16:25:30+02:00
ass_split: fix invalid doxygen group end markers.
dc3aeba3b1f183e75e4c5f909d848699e0343f14
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dc3aeba3b1f183e75e4c5f909d848699e0343f14
2011-10-04 07:48:56+02:00
Prevent NULL dereferences when missing the reference frame in the Electronic Arts CMV decoder. Signed-off-by: Michael Niedermayer <[email protected]>
113d7be62497c4e59db8f224fdb7f0a90cf17d03
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/113d7be62497c4e59db8f224fdb7f0a90cf17d03
2011-10-01 02:41:40+02:00
Prevent NULL dereferences when missing the reference frame in the xan decoder. Signed-off-by: Michael Niedermayer <[email protected]>
19e95b88459e879d3e67a66350d937c32ed762ca
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/19e95b88459e879d3e67a66350d937c32ed762ca
2011-09-28 00:49:25+02:00
h264: check for out of bounds reads in ff_h264_decode_extradata(). Signed-off-by: Anton Khirnov <[email protected]>
d1186ff72d75b6067770890758c4feb92abd84f7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d1186ff72d75b6067770890758c4feb92abd84f7
2011-09-25 15:04:58+02:00
flvdec: Fix invalid pointer deferences when parsing index Signed-off-by: Martin Storsjö <[email protected]>
2b4e49d4281690db67073ba644ad2ffc17767cdf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2b4e49d4281690db67073ba644ad2ffc17767cdf
2011-09-24 18:08:39+03:00
Fix a buffer overflow in libx264 interface to x264 encoder. Previous code ignored the compressed buffer size passed in. This change returns as many complete NALs as can fit in the buffer, and logs an error message. Signed-off-by: Mike Scheutzow <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
e2dae1faa84ada5746ac2114de7eb68abd824131
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e2dae1faa84ada5746ac2114de7eb68abd824131
2011-09-26 18:48:38+02:00
vf_remove_logo: domt access vf->next->query_format() directly but use the API. This fixes a crash Signed-off-by: Michael Niedermayer <[email protected]>
39e0accb7a934bfe3d42324b016dd8790790746d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/39e0accb7a934bfe3d42324b016dd8790790746d
2011-09-13 03:52:30+02:00
[dv] Check return value of avio_seek and avoid modifying state if it fails
1df00ac80f86119ffb03f01c757145b6942d071e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1df00ac80f86119ffb03f01c757145b6942d071e
2011-09-14 19:51:07+02:00
cavsdec: avoid possible crash with crafted input Signed-off-by: Michael Niedermayer <[email protected]>
9f06c1c61e876e930753da200bfe835817e30a53
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9f06c1c61e876e930753da200bfe835817e30a53
2011-08-10 17:29:51+02:00
Limit fsize before adding to pointer. This avoids a theoretically possible pointer arithmetic overflow which would lead to a crash due to reading from NULL page. Signed-off-by: Reimar Döffinger <[email protected]>
b39f872a41b92a31589052c8f914c5b52f206fd0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b39f872a41b92a31589052c8f914c5b52f206fd0
2011-07-31 19:40:08+02:00
svq3: Check negative mb_type to fix potential crash. Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Diego Biurrun <[email protected]>
93d06bd1df73861c73bc12c659aecdf404d1de2a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/93d06bd1df73861c73bc12c659aecdf404d1de2a
2011-06-03 13:55:55+02:00
ac3enc: initialize all coefficients to zero. Uninitialized coefficients were being used to generate exponents, some of which actually ended up in the final stream. Even though, they were just extra exponents that are not used by any decoder, it is still better to have consistent output for testing. This also fixes valgrind errors.
478455d66b80e335bdabc00df5dee298d630cbab
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/478455d66b80e335bdabc00df5dee298d630cbab
2011-05-25 20:13:49-04:00
mdec.c: fix overread.
32ac63ee10ca5daa149344a75d736c1b98177392
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/32ac63ee10ca5daa149344a75d736c1b98177392
2011-05-18 06:54:15-04:00
swscale: Fix scaling for unscaled dithered planar convertions. This fixes some overflow in bright areas and ensures that the maximum brightness level is mapped to the maximum without cliping and without showing dither patterens in flat max brightness areas. Signed-off-by: Michael Niedermayer <[email protected]>
7bea13f111746eb7b34caa2cda46cc621728ee2a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7bea13f111746eb7b34caa2cda46cc621728ee2a
2011-05-10 14:43:34+02:00
Check avcodec_alloc_frame() failure. Signed-off-by: Michael Niedermayer <[email protected]>
22fa406f384eb9d825b1d691332e1f928750d55b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/22fa406f384eb9d825b1d691332e1f928750d55b
2011-04-19 13:25:05+02:00
Merge remote-tracking branch 'ffmpeg-mt/master' * ffmpeg-mt/master: Release unused pictures even when not calling ff_h264_frame_start() h264: Fix decoding race condition with PAFF h264: cosmetic whitespace change Duplicate Fix REBASE_PICTURE with h.264 Not pulled Update test scripts to use ffmpeg instead of ffmpeg_g Duplicate Fix ffmpeg-mt fixme in h264 Signed-off-by: Michael Niedermayer <[email protected]>
7e2eb4bacd70541702bd086ab2a39cb7653d314e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7e2eb4bacd70541702bd086ab2a39cb7653d314e
2011-04-18 00:47:35+02:00
ffplay: add existence check on ic->pb in decode_thread() Fix crash if ic->pb is NULL and ic->pb->error is evaluated. This happens for example with: ffplay photo.jpeg.
eb4d1cb90e14250fc52c8fe73153b72603b029f8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eb4d1cb90e14250fc52c8fe73153b72603b029f8
2011-03-19 17:30:35+01:00
nutenc: fix a memleak This fixes a minor memory leak introduced in 073f8b1. Signed-off-by: Mans Rullgard <[email protected]>
2cface71ca58b1ab811efae7d22f3264f362f672
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2cface71ca58b1ab811efae7d22f3264f362f672
2011-03-17 16:25:54+00:00
jv demuxer: prevent video packet size overflow In the event of overflow, the JV_PADDING state will avio_skip over any overflow bytes (using JVFrame.total_size). Signed-off-by: Ronald S. Bultje <[email protected]>
7f05c164d8ccbfded9bcefdb41942bc28d85c87a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7f05c164d8ccbfded9bcefdb41942bc28d85c87a
2011-03-14 08:06:19-04:00
targa: prevent integer overflow in bufsize check.
78e2380a6d09e7a8b2a74d090abfb0a922e046f6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/78e2380a6d09e7a8b2a74d090abfb0a922e046f6
2011-02-21 13:44:37-05:00
Free AVStream->info in chained muxers This fixes memory leaks in the RTSP muxer and RTP hinting in the mov muxer present since SVN rev 25418. Signed-off-by: Luca Barbato <[email protected]>
ce41c51b0c71c87f623914ba0786aef325d818fe
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ce41c51b0c71c87f623914ba0786aef325d818fe
2011-02-03 01:03:31+01:00
100l: Fix crash in SPDIF muxer. Originally committed as revision 25762 to svn://svn.ffmpeg.org/ffmpeg/trunk
4b6bfbe2b70ea87831fa9a42a2ac112ee8a386d2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4b6bfbe2b70ea87831fa9a42a2ac112ee8a386d2
2010-11-17 23:23:25+00:00
Detect byte-swapped AC-3 (aka DNET) and support decoding it directly. This allows the AC-3 decoder to be used directly with RealMedia decoders that unlike the libavformat one do not byte-swap automatically. Since the new code is only used in case we would fail directly otherwise there should be no risk for regressions. The "buf" pointer needs to be overwritten since otherwise the CRC check fails.
c9f6eab184cac379c7a44d5899979165798d45d4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c9f6eab184cac379c7a44d5899979165798d45d4
2011-03-19 12:07:14+01:00
Fix a leak in the AAC encoder Originally committed as revision 24159 to svn://svn.ffmpeg.org/ffmpeg/trunk
771c86c13d7133035e53f7aeb14407ae5dca6453
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/771c86c13d7133035e53f7aeb14407ae5dca6453
2010-07-10 09:14:19+00:00
configure: add missing braces in libvpx check Originally committed as revision 24028 to svn://svn.ffmpeg.org/ffmpeg/trunk
ea28e81faa0b211a985f5aa520c60334aaf081cc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ea28e81faa0b211a985f5aa520c60334aaf081cc
2010-07-03 19:16:40+00:00
Prevent infinite recursion of odml indexes. This fixes a stack overflow. Originally committed as revision 23925 to svn://svn.ffmpeg.org/ffmpeg/trunk
0c0fd063ddef7ae3b97e7d9eac57acefee994d0c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0c0fd063ddef7ae3b97e7d9eac57acefee994d0c
2010-07-01 00:09:08+00:00
Check the return value of device_try_init() immediately after calling such a function. Avoids the following warning: libavdevice/v4l2.c: In function ‘v4l2_read_header’: libavdevice/v4l2.c:586: warning: ‘codec_id’ may be used uninitialized in this function Originally committed as revision 22986 to svn://svn.ffmpeg.org/ffmpeg/trunk
b01dba14f36aa3ff3d6fe89acf71eddbd65e7027
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b01dba14f36aa3ff3d6fe89acf71eddbd65e7027
2010-04-28 08:02:52+00:00
Make Bink decoder to stop decoding planes after all bits are used. This prevents crashes during decoding grayscale Bink files like samples from Impossible Creatures game demo. Originally committed as revision 21961 to svn://svn.ffmpeg.org/ffmpeg/trunk
bb29fee3a6a289f6b191177098ddce3720d8c417
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bb29fee3a6a289f6b191177098ddce3720d8c417
2010-02-22 12:35:12+00:00
Avoid division by zero Based on clang-scan report http://permalink.gmane.org/gmane.comp.video.ffmpeg.devel/107290 Originally committed as revision 22795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2819760b5c9db0eb4e7e09e36e9a32efd6b484fd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2819760b5c9db0eb4e7e09e36e9a32efd6b484fd
2010-04-04 07:18:10+00:00
aacenc: Merge quantize_band_cost() with quantize_and_encode_band(). If these two functions aren't matched results may be unexpected. Originally committed as revision 22655 to svn://svn.ffmpeg.org/ffmpeg/trunk
508f092a783f7d305d1e9938c953e375139e2cba
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/508f092a783f7d305d1e9938c953e375139e2cba
2010-03-24 17:09:21+00:00
Prevent overflow of start_time + recording_time. Patch by Francesco Cosoleto gmail($name) Originally committed as revision 22077 to svn://svn.ffmpeg.org/ffmpeg/trunk
6abda15f5633b610727c2755ae35ce1599ece115
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6abda15f5633b610727c2755ae35ce1599ece115
2010-02-26 14:46:20+00:00
Free encoder extradata in avcodec_close(). Should fix several small memory leaks when encoding (at least for asv, wma and aac). Fix also issue 1577. Originally committed as revision 21923 to svn://svn.ffmpeg.org/ffmpeg/trunk
c4f267ab7570a66eea46a231ad10486c63cc4c68
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c4f267ab7570a66eea46a231ad10486c63cc4c68
2010-02-20 18:28:11+00:00
The SSSE3 version of dct_quantize in mpegvideo_mmx_template.c needs inv_zigzag_direct16 16-byte aligned, so mark it appropriately. Fixes encoder crashes e.g. with MPlayer's -vf lavc. Originally committed as revision 21389 to svn://svn.ffmpeg.org/ffmpeg/trunk
e62a55b92e1524f12cbf78033383d5a4de90257a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e62a55b92e1524f12cbf78033383d5a4de90257a
2010-01-22 23:40:18+00:00