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
configure+libm.h: add hypot emulation It is known that the naive sqrt(x*x + y*y) approach for computing the hypotenuse suffers from overflow and accuracy issues, see e.g http://www.johndcook.com/blog/2010/06/02/whats-so-hard-about-finding-a-hypotenuse/. This adds hypot support to FFmpeg, a C99 function. On platforms without hypot, this patch does a reaonable workaround, that although not as accurate as GNU libm, is readable and does not suffer from the overflow issue. Improvements can be made separately. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
275aca8fba50e77af16627d8d5db4b3d4987d889
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/275aca8fba50e77af16627d8d5db4b3d4987d889
2015-11-21 08:51:49-05:00
avcodec/h264_slice: Clear top_borders on allocation In case of bitstream errors the deblock filter and slices can access uninitialized top_borders from previous slices which did not fill them as they stoped halfway due to error or where entirely missing. This also makes code using these tables deterministic in case of missing or damaged slices Found-by: Tyson Smith Signed-off-by: Michael Niedermayer <[email protected]>
6f37226b687f969bcf6e47a4fb5c28a32d107aa3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6f37226b687f969bcf6e47a4fb5c28a32d107aa3
2015-11-18 22:18:01+01:00
aacps: avoid division by zero in stereo_processing This fixes a SIGFPE crash in the aac_fixed decoder. Signed-off-by: Andreas Cadhalpun <[email protected]> Reviewed-by: Rostislav Pehlivanov <[email protected]>
ef7fe9851e0913a2e8d27d55bcb84847a6efa7ca
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ef7fe9851e0913a2e8d27d55bcb84847a6efa7ca
2015-11-10 01:33:24+00:00
segafilm: drop the "song and dance" for cinepak This seems not to do anything any more since a long time, and removing it avoids using uninitialized memory. Also change the error value forwarding as done everywhere else. Partly fixes: msan_uninit-mem_7fb7d24780d0_2744_R03T.CAK Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Vittorio Giovara <[email protected]>
563e6d860391bac0511984e5c0842320b5c94d2d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/563e6d860391bac0511984e5c0842320b5c94d2d
2015-11-06 21:55:15+01:00
avutil/common: add FFDIFFSIGN macro This is of use for defining comparator callbacks. Common approaches like return x-y are not safe due to the risks of overflow. Furthermore, the (x > y) - (x < y) trick is optimized to branchless code. This also documents this macro accordingly. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
265f83fd35977a80e93b3cc13ceb65f52f129a3c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/265f83fd35977a80e93b3cc13ceb65f52f129a3c
2015-11-03 16:28:12-05:00
AAC encoder: improve SF range utilization This patch does 4 things, all of which interact and thus it woudln't be possible to commit them separately without causing either quality regressions or assertion failures. Fate comparison targets don't all reflect improvements in quality, yet listening tests show substantially improved quality and stability. 1. Increase SF range utilization. The spec requires SF delta values to be constrained within the range -60..60. The previous code was applying that range to the whole SF array and not only the deltas of consecutive values, because doing so requires smarter code: zeroing or otherwise skipping a band may invalidate lots of SF choices. This patch implements that logic to allow the coders to utilize the full dynamic range of scalefactors, increasing quality quite considerably, and fixing delta-SF-related assertion failures, since now the limitation is enforced rather than asserted. 2. PNS tweaks The previous modification makes big improvements in twoloop's efficiency, and every time that happens PNS logic needs to be tweaked accordingly to avoid it from stepping all over twoloop's decisions. This patch includes modifications of the sort. 3. Account for lowpass cutoff during PSY analysis The closer PSY's allocation is to final allocation the better the quality is, and given these modifications, twoloop is now very efficient at avoiding holes. Thus, to compute accurate thresholds, PSY needs to account for the lowpass applied implicitly during twoloop (by zeroing high bands). This patch makes twoloop set the cutoff in psymodel's context the first time it runs, and makes PSY account for it during threshold computation, making PE and threshold computations closer to the final allocation and thus achieving better subjective quality. 4. Tweaks to RC lambda tracking loop in relation to PNS Without this tweak some corner cases cause quality regressions. Basically, lambda needs to react faster to overall bitrate efficiency changes since now PNS can be quite successful in enforcing maximum bitrates, when PSY allocates too many bits to the lower bands, suppressing the signals RC logic uses to lower lambda in those cases and causing aggressive PNS. This tweak makes PNS much less aggressive, though it can still use some further tweaks. Also update MIPS specializations and adjust fuzz Also in lavc/mips/aacpsy_mips.h: remove trailing whitespace
ca203e9985cd2dcf42a0c0853940850d3a8edf3a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ca203e9985cd2dcf42a0c0853940850d3a8edf3a
2015-12-02 07:47:37-03:00
avfilter/vf_atadenoise: do not use uninitialized data Signed-off-by: Paul B Mahol <[email protected]>
a019149249695f7b812ead18bc51fc2d8df57499
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a019149249695f7b812ead18bc51fc2d8df57499
2015-09-29 20:50:20+02:00
checkasm/x86: Correctly handle variadic functions The System V ABI on x86-64 specifies that the al register contains an upper bound of the number of arguments passed in vector registers when calling variadic functions, so we aren't allowed to clobber it. checkasm_fail_func() is a variadic function so also zero al before calling it. Signed-off-by: Anton Khirnov <[email protected]>
cc285521000020ab237d183dc3a26f99fce3030f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cc285521000020ab237d183dc3a26f99fce3030f
2015-09-28 14:25:59+02:00
avcodec/rv34: Delay failure return for B frames with a missing reference Failing earlier causes the context to be insufficiently initialized which can break decoding future frames with threads Signed-off-by: Michael Niedermayer <[email protected]>
fa5358f07d0cda461ee3c2d63e438a69ef00ca2f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fa5358f07d0cda461ee3c2d63e438a69ef00ca2f
2015-09-17 02:08:15+02:00
aacenc_tns: fix out-of-bounds array access Since the coefficients are stepped up to order + 1 it was possible that it went over TNS_MAX_ORDER. Also just return in case the only coefficient is less than the threshold. Signed-off-by: Rostislav Pehlivanov <[email protected]>
e924967fd5ec240cf97022f054cb02a0bc7101d9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e924967fd5ec240cf97022f054cb02a0bc7101d9
2015-08-29 19:21:35+01:00
avcodec/h264_slice: replace assert by normal error check Fixes assertion failure Fixes: c6075771557e4f3b7b74e63d2d24fb01/signal_sigabrt_7ffff6ac8cc9_133_cov_2853689970_CREDITS.FST Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
1376084dcbab53cbaea8047cf7ec85af3c8570ce
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1376084dcbab53cbaea8047cf7ec85af3c8570ce
2015-09-02 01:22:45+02:00
aacenc: coding style changes This commit only changes the coding style to a saner way of accessing coefficients (makes more sense to get the memory address of a coefficients and start from there rather than adding arbitrary numbers to offset a pointer). Some compilers might detect an out of bounds access easier. Also the way M/S and IS coefficients are calculated has been changed, but should still have the same result (with the exception that IS now applies from the normal coefficients rather than the pristine ones, this is needed for upcoming commits). Signed-off-by: Rostislav Pehlivanov <[email protected]>
32be264cea542b4dc721b10092bf1dfe511a28ee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/32be264cea542b4dc721b10092bf1dfe511a28ee
2015-08-21 18:30:51+01:00
lavf/mpegtsenc: Only fail aac muxing if the first frame is invalid. Fixes ticket #3957.
1d5edad8ccfd1843bc8c60260a20ac37b738cb77
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1d5edad8ccfd1843bc8c60260a20ac37b738cb77
2015-07-07 10:44:46+02:00
avcodec/mjpegdec: Fix DC overflow in decode_block() Fixes Ticket4683 Signed-off-by: Michael Niedermayer <[email protected]>
dffae122d0f448029c30afc672233f114a3fe09c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dffae122d0f448029c30afc672233f114a3fe09c
2015-07-15 05:05:25+02:00
avformat/riffde: Fix integer overflow in bitrate Signed-off-by: Michael Niedermayer <[email protected]>
839d6bc192f7ef94343872ff039799501af38855
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/839d6bc192f7ef94343872ff039799501af38855
2015-07-12 16:24:20+02:00
oggparsedirac: check return value of init_get_bits If init_get_bits fails the GetBitContext is invalid and must not be used. Check the return value in dirac_header and propogate the error. Signed-off-by: Michael Niedermayer <[email protected]>
4f5c2e651a95b950f6a3fb36f2342cbc32515f17
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4f5c2e651a95b950f6a3fb36f2342cbc32515f17
2015-07-09 03:46:37+02:00
avcodec/mjpegdec: Reorder operations to avoid undefined behavior Fixes: asan_heap-oob_1dd60fd_267_cov_2954683513_5baad44ca4702949724234e35c5bb341.jpg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c9220d5b06536ac359166214b4131a1f15244617
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c9220d5b06536ac359166214b4131a1f15244617
2015-07-02 18:53:32+02:00
vp9/update_prob: prevent out of bounds table read the max value of the lookup in expanded form is: (((1 << 7) - 1) << 1) - 65 + 1 + 64 = 254 add one entry of padding to inv_map_table[] to prevent out of bounds access with non-conforming / fuzzed bitstreams Signed-off-by: James Zern <[email protected]> Reviewed-by: "Ronald S. Bultje" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
e91f860ea74e11e9178500fe8794c47f57dbf48c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e91f860ea74e11e9178500fe8794c47f57dbf48c
2015-06-30 13:24:19+02:00
arm: only enable setend on ARMv6 Without this check it causes SIGILL crashes on ARMv5. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
5bf84a584e9ce681b439a5747671e2809a019c83
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5bf84a584e9ce681b439a5747671e2809a019c83
2015-06-05 17:14:10+02:00
msrle: Use FFABS to determine the frame size in msrle_decode_pal4 As done in msrle_decode_8_16_24_32. Bug-Id: CVE-2015-3395 CC: [email protected]
5ecabd3c54b7c802522dc338838c9a4c2dc42948
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5ecabd3c54b7c802522dc338838c9a4c2dc42948
2015-05-30 16:28:32+02:00
avcodec/mpegvideo: Check pointer when allocation fail Signed-off-by: Michael Niedermayer <[email protected]>
e5d1152ccc301c5e4345fd9e70eaab899d8a19c2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e5d1152ccc301c5e4345fd9e70eaab899d8a19c2
2015-05-29 00:29:58+02:00
vp9: disable all pmulhrsw in 8/16 iadst x86 optimizations. They all overflow in various samples that are considered valid input.
96d30c34951b42479f4d1a4210e8a36347c4d653
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/96d30c34951b42479f4d1a4210e8a36347c4d653
2015-05-14 13:39:37-04:00
quickdraw: Make the palette opaque Additional overflow fix by Michael Niedermayer <[email protected]>. Signed-off-by: Vittorio Giovara <[email protected]>
d0dce15da34c0e4eee6c683be299de0221db00d3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d0dce15da34c0e4eee6c683be299de0221db00d3
2015-05-12 15:28:31+01:00
imgutils: initialize palette padding bytes in av_image_alloc av_image_fill_pointers always aligns the palette, but the padding bytes don't (and can't) get initialized in av_image_copy. Thus initialize them in av_image_alloc. This fixes 'Syscall param write(buf) points to uninitialised byte(s)' valgrind warnings. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
51f64552853e16d72644308db53abee870aecfb9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/51f64552853e16d72644308db53abee870aecfb9
2015-05-13 03:58:08+02:00
jpeglsenc: Check memory allocations Convert exisiting free functions to av_freep() to avoid accidental double frees, and always intialize all buffers to NULL.
3919a4572690894d0a7ad4170d699c52b4748194
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3919a4572690894d0a7ad4170d699c52b4748194
2015-04-28 16:27:16+01:00
matroskadec: fix crash when parsing invalid mkv CC: [email protected] Signed-off-by: Anton Khirnov <[email protected]>
b8d7f3186e86234f6255f5e8ee9e98573b4d9a6e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b8d7f3186e86234f6255f5e8ee9e98573b4d9a6e
2015-04-18 16:49:25+02:00
configure: Require LPDIRECT3DSURFACE9 for dxva2 This fixes dxva2 detection (i.e. correctly realizes that it isn't available) for WinRT, where dxva2api.h does exist, but these definitions are omitted (when targeting the API subsets). Ideally we should rather check for e.g. DXVA2_ConfigPictureDecode, but configure might fail to find that definition due to _WIN32_WINNT not being set to the right value during configure. (libavcodec/dxva2.h manually overrides the _WIN32_WINNT define.) This allows removing hardcoded --disable-dxva2 from such build configurations. Signed-off-by: Martin Storsjö <[email protected]>
ff7ae4b9df6e89d99dbd5434408123b80a4f6cd7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ff7ae4b9df6e89d99dbd5434408123b80a4f6cd7
2015-06-01 23:04:49+03:00
avcodec/h264_refs: Do not set reference to things which dont exist Fixes deadlock Fixes Ticket4428 Fixes Ticket4429 Signed-off-by: Michael Niedermayer <[email protected]>
429de043202286a2b5bcc082cc02de860b734db2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/429de043202286a2b5bcc082cc02de860b734db2
2015-04-04 18:25:44+02:00
avcodec/hevc_ps: Sanity checks for some log2_* values log2 values which imply numeric overflow are not supported Signed-off-by: Michael Niedermayer <[email protected]>
205b2ba3d677330e023aac2f4bd3f624039256b9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/205b2ba3d677330e023aac2f4bd3f624039256b9
2015-02-25 17:40:47+01:00
takdec: pad filter coeff buffer for DSP functions Currently, a part of the loop has to be handled in plain C, because of DSP function requirements of having batches of 16 elements to process. Instead, pad the buffer with 0 where the DSP functions are overreading. Signed-off-by: James Almer <[email protected]>
e0c7ba40cf0bb521430f4a808ed1f1a408093f9c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e0c7ba40cf0bb521430f4a808ed1f1a408093f9c
2015-02-22 16:35:32-03:00
avfilter/buffer: Check for qp_table allocation failure Fixes CID1271048 Signed-off-by: Michael Niedermayer <[email protected]>
b7e7ee6231bc1f3608ed4005c3e7550ec4815296
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b7e7ee6231bc1f3608ed4005c3e7550ec4815296
2015-02-22 20:27:11+01:00
aacsbr: Fix type for index variable Prevents unsigned overflow and variable truncation. Bug-Id: CID 603186
cdce9e8025fff1dee2fd3d6bc28aebc0a330c5a0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cdce9e8025fff1dee2fd3d6bc28aebc0a330c5a0
2015-03-17 13:34:23+00:00
avformat/mov: Check dimensions before setting aspect Fixes division by 0 Fixes: asan_heap-uaf_143f420_728_cov_1441472032_HDV_0113.MP4 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
5763f675024765df8f256d8b5b01926a5fbd997d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5763f675024765df8f256d8b5b01926a5fbd997d
2015-02-09 14:52:15+01:00
avcodec/h264_slice: Check picture structure before setting the related fields This might fix a hypothetical race condition Signed-off-by: Michael Niedermayer <[email protected]>
f111831ed61103f9fa8fdda41473a23da016bdaa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f111831ed61103f9fa8fdda41473a23da016bdaa
2015-02-07 03:59:45+01:00
avcodec/h264_slice: Do not change frame_num after the first slice Fixes potential race condition Fixes: signal_sigsegv_1472ac3_468_cov_2915641226_CABACI3_Sony_B.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
f906982c9411f3062e3ce68013309b37c213c4dd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f906982c9411f3062e3ce68013309b37c213c4dd
2015-02-07 02:20:14+01:00
lavc/libopenjpegenc: move opj_create_compress, opj_cio_open and opj_set_event_mgr to libopenjpeg_encode_frame libopenjpegenc crashes with "pointer being freed was not allocated" when threading is enabled with: ffmpeg -i tests/vsynth1/01.pgm -vcodec libopenjpeg file.j2k this appears to be a bug in libopenjpeg Signed-off-by: Michael Niedermayer <[email protected]>
ecc92ee717eac18540e236ee27e9052cd2917800
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ecc92ee717eac18540e236ee27e9052cd2917800
2015-02-02 17:54:05+01:00
h264: unref leaking error recovery picture This leaked a frame on each avcodec_flush_buffers() call, if frame threading was enabled. It caused severe memory usage in player if you were seeking a lot. Signed-off-by: Michael Niedermayer <[email protected]>
e0e33ebe6bd71fdb211c9af7c7af17d6472c535b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e0e33ebe6bd71fdb211c9af7c7af17d6472c535b
2015-01-19 20:11:39+01:00
avcodec/flac_parser: Check for av_malloc() failure Signed-off-by: Michael Niedermayer <[email protected]>
6c3cb02a742f0ce32a85e86738a18e3d6d711d59
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6c3cb02a742f0ce32a85e86738a18e3d6d711d59
2015-01-15 17:09:39+01:00
matroskadec: fix leak on error CC: [email protected] Bug-Id: CID 1026767
3c1199c3c4cbdb4ffff0de89f06d5a08acefe356
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3c1199c3c4cbdb4ffff0de89f06d5a08acefe356
2014-10-24 23:43:25+01:00
ffmpeg: Clear error message array at init. This avoids printing uninitialized bytes if no error message is set Signed-off-by: Michael Niedermayer <[email protected]>
6d1a2efb8ac399a003ea7d3b6f8c641d192567ee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6d1a2efb8ac399a003ea7d3b6f8c641d192567ee
2015-01-08 23:02:30+01:00
avcodec/ratecontrol: Check for av_malloc*() failures Signed-off-by: Michael Niedermayer <[email protected]>
0898a6d4e4b669704fce663f610aa43dd7483fe9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0898a6d4e4b669704fce663f610aa43dd7483fe9
2015-01-10 19:29:39+01:00
avcodec/dvdsubdec: fix out of bounds accesses The code blindly trusted buffer offsets read from the file in the RLE decoder. Explicitly check the offset. Also error out on other RLE decoding errors. Signed-off-by: Michael Niedermayer <[email protected]>
c9151de7c42553bb145be608df8513c1287f1f24
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c9151de7c42553bb145be608df8513c1287f1f24
2015-01-05 05:03:49+01:00
avformat/mov: fix integer overflow of size Fixes: case1_call_stack_overflow.mp4 Found-by: Michal Zalewski <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
be9ce6e10a8d53b8bc346c9337d75a5a30631a2a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/be9ce6e10a8d53b8bc346c9337d75a5a30631a2a
2014-12-16 23:37:25+01:00
prores: Evaluate all the quantizers Prevent an uninitialized data access. CC: [email protected] Bug-Id: CID 703824 / CID 703825 Signed-off-by: Vittorio Giovara <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
4690e01c3aaf495c87127e5dc74aa347197dbc0b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4690e01c3aaf495c87127e5dc74aa347197dbc0b
2014-12-15 15:46:34+01:00
xwma: Do not leak on failure path CC: [email protected] Bug-Id: CID 1087092
fd9badd3cb3b60f5c54dcea35523e1ecca2f67a6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fd9badd3cb3b60f5c54dcea35523e1ecca2f67a6
2014-11-21 12:27:07+00:00
lavu/opt: check for NULL before parsing set_string_binary crashes when called with val==NULL Signed-off-by: Lukasz Marek <[email protected]>
bb60142f562ef9ca7f34bd69abe059d56ea1cbf1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bb60142f562ef9ca7f34bd69abe059d56ea1cbf1
2014-11-11 21:52:26+01:00
dvbsubdec: add missing break Fix a memory leak too. CC: [email protected] Bug-Id: CID 732230
1bdd21d97528d870fbb4388e837abaf390f2f7d7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1bdd21d97528d870fbb4388e837abaf390f2f7d7
2014-11-11 11:49:54+01:00
avfilter/avf_showwaves: fix off by one error in loop condition It caused segfaults. Signed-off-by: Marton Balint <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
86476c510ebd14d33ed02289d71bae874f8707a4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/86476c510ebd14d33ed02289d71bae874f8707a4
2014-11-09 16:44:10+01:00
avformat/mxfdec: fix null pointer dereference Fixes: signal_sigsegv_b5b3d4_2_001.mxf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c1e035ea89c16b8da91fae6983973a7186e138f6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c1e035ea89c16b8da91fae6983973a7186e138f6
2014-10-29 03:54:49+01:00
aviobuf: check context before using it Avoid a possible null pointer dereference. CC: [email protected] Bug-Id: CID 1135769
d7f530b0d67fe3996dbfa990a47c865e0d1400a2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d7f530b0d67fe3996dbfa990a47c865e0d1400a2
2014-10-20 10:38:38+01:00
RTMP: fix FD leak in rtmp_open() If we setup AVIO interrupt callback and it will be returns 1 on socket timeouts and we try to connect to non-existing streams on some servers (like nginx-rtmp) we got FD leak. Signed-off-by: Michael Niedermayer <[email protected]>
08ccc474b73a3acef5e56060c8174d4e82ace20d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/08ccc474b73a3acef5e56060c8174d4e82ace20d
2014-09-30 11:26:25+02:00
proresenc_kostya: report buffer overflow If the allocated size, despite best efforts, is too small, exit with the appropriate error. Signed-off-by: Michael Niedermayer <[email protected]>
52b81ff4635c077b2bc8b8d3637d933b6629d803
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/52b81ff4635c077b2bc8b8d3637d933b6629d803
2014-08-12 00:46:37+02:00
error_resilience: Drop asserts from guess_mv() The asserts check struct members that are not referenced in guess_mv() and one of them fails to compile.
7cb66ebc0be48489785f7166c9d15eac594b0763
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7cb66ebc0be48489785f7166c9d15eac594b0763
2014-08-21 04:18:23-07:00
rv34: use ff_mpeg_update_thread_context only when decoder is fully initialized MpegEncContext based decoders are only fully initialized after the first ff_thread_get_buffer() call. The RV30/40 decoders may fail before a frame buffer was requested. ff_mpeg_update_thread_context() fails on half initialized MpegEncContexts. Since this can only happen before a the first frame was decoded there is no need to call ff_mpeg_update_thread_context(). Based on patches by John Stebbins and tested by John Stebbins. CC: [email protected]
dc4b2e7d33903a6b9380e8a84b22b3a20facbb08
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dc4b2e7d33903a6b9380e8a84b22b3a20facbb08
2014-08-22 13:11:43+02:00
ffv1dec: check that global parameters do not change in version 0/1 Such changes are neither allowed nor supported Found-by: ami_stuff Bug-Id: CVE-2013-7020 CC: [email protected] Signed-off-by: Anton Khirnov <[email protected]>
da7d839a0d3ec40423a665dc85e0cfaed3f92eb8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/da7d839a0d3ec40423a665dc85e0cfaed3f92eb8
2014-08-12 10:21:21+00:00
wmalosslessdec: fix mclms_coeffs* array size Fixes corruption of context Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:[email protected] Bug-Id: CVE-2014-2098 Signed-off-by: Anton Khirnov <[email protected]>
849b9d34c7ef70b370c53e7af3940f51cbc07d0f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/849b9d34c7ef70b370c53e7af3940f51cbc07d0f
2014-08-05 14:58:03+00:00
avcodec/pgssubdec: Check input buffer size in parse_presentation_segment() Might fix overread, no testcase known though. Signed-off-by: Michael Niedermayer <[email protected]>
89bcb77726e222aee9d8536f0310d805f7d39fac
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/89bcb77726e222aee9d8536f0310d805f7d39fac
2014-06-30 18:23:08+02:00
lavfi/overlay: show incoming frames on debug messages This is especially useful to debug queue overflow issues. Ideally we should be able to set the debug message at the dualinput/framesync level, but they do not have the information related to the filter context and the inlink, so cannot access much useful information. Signed-off-by: Stefano Sabatini <[email protected]>
462c9ee3ac45cfd451046f1f8ad6a19226c14f40
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/462c9ee3ac45cfd451046f1f8ad6a19226c14f40
2014-07-02 18:42:15+02:00
swresample/resample_template: flip order of operations in swri_resample_linear() for 32bit Fixes integer overflow Found-by: BBB Reviewed-by: "Ronald S. Bultje" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
c5a405c4f07066efa786b75865c2c9c8f2a399ed
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c5a405c4f07066efa786b75865c2c9c8f2a399ed
2014-06-29 22:19:57+02:00
avutil/lzo: add asserts to be double sure against overflows These asserts cannot fail since d6af26c55c1ea30f85a7d9edbc373f53be1743ee Based-on: ccda51b14c0fcae2fad73a24872dce75a7964996 Signed-off-by: Michael Niedermayer <[email protected]>
cf2b7c01f81c1fb3283a1390c0ca9a2f81f4f4a8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cf2b7c01f81c1fb3283a1390c0ca9a2f81f4f4a8
2014-06-23 14:51:39+02:00
Replace assert with AVERROR when recode_subtitle called w/o ICONV. recode_subtitle() is called implicitly by avformat_find_stream_info(). As such, clients which disable ICONV always crash if a file contains subtitles; even if they don't care about them. Signed-off-by: Michael Niedermayer <[email protected]>
ef0c466a0fef4657d3f46cc9adea97e76a8e4faa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ef0c466a0fef4657d3f46cc9adea97e76a8e4faa
2014-05-21 17:33:21+02:00
FATE/opus: increase fuzz for the celt tests This seems to be needed on some 32bit arches.
4735784f1ced27026fbeada5fd31505132e565e9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4735784f1ced27026fbeada5fd31505132e565e9
2014-05-16 14:35:20+02:00
ffserver: don't leak poll_table if poll fails Should fix Coverity Scan issue #732265 Signed-off-by: Reynaldo H. Verdejo Pinochet <[email protected]>
e0877aa544b029c2ba0769233781733ba184fa02
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e0877aa544b029c2ba0769233781733ba184fa02
2014-05-10 18:16:19-04:00
build: Support building using clang-usan and disable-optimization Clang Undefined Behaviour Sanitizer seems to make non-constant constant expressions, making the compilation fail when they are used within inline assembly if no optimization is requested. Add -O1 to the cflags to hide the misbehaviour. Bug-Id: 683
4d25c2bc76f0a708c2ba470b6bfeb547efe37115
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4d25c2bc76f0a708c2ba470b6bfeb547efe37115
2014-05-16 19:58:34+02:00
avcodec/utils: Fix undefined behavior in avpriv_toupper4 Signed-off-by: Michael Niedermayer <[email protected]>
a071c0b515e5935b4e2d09899303f6d3c9fb158b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a071c0b515e5935b4e2d09899303f6d3c9fb158b
2014-05-16 03:13:27+02:00
avfilter/curves: fix resource leaks. Fixes CID1206650
b2cfd1fde7a2643be9978ec8da58c184a5d9a140
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b2cfd1fde7a2643be9978ec8da58c184a5d9a140
2014-04-27 11:49:13+02:00
swresample/resample: Limit filter length Related to CID1197063 The limit choosen is arbitrary and much larger than what makes sense. It avoids the need for checking arithmetic operations with the length for overflow Signed-off-by: Michael Niedermayer <[email protected]>
f9158b01d0f3effb58e87fb07db0382bc1e47de5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f9158b01d0f3effb58e87fb07db0382bc1e47de5
2014-04-08 00:25:49+02:00
configure: use TMPM in check_header_oc Some compilers when given -x objective-c will tell that they dont support that but return success. Using a .m file instead returns proper failure in that case This should fix a build failure on freebsd Signed-off-by: Michael Niedermayer <[email protected]>
3c728ceec66d4e26a3edbf136a459c271c8452cd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3c728ceec66d4e26a3edbf136a459c271c8452cd
2014-04-05 13:30:27+02:00
configure: more properly disable header when check_header_oc() fails This should make no difference currently Signed-off-by: Michael Niedermayer <[email protected]>
323c049c7e43cb610e3c5ffbe09fc46278808ad5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/323c049c7e43cb610e3c5ffbe09fc46278808ad5
2014-04-05 13:29:28+02:00
avformat/mpegtsenc: Changed Video PES packet length to 0. The rational for this is another issue that plex has exposed. When it is conducting a transcode of video to HLS for streaming, my father noticed artifacts when played on his GoogleTV (NSZ-GT1). He sent me a test file and I reproduced it on my device of the same model. It is important to note that the artifacts were not present when streaming to VLC or QuickTime Player. I copied the command-line that plex used, and conducted all of the following tests using FFmpeg git. Transcode to HLS: artifacts on playback Transcode to TS: playback is fine Cat HLS segments into a single TS: playback is fine Segment single TS file to segments: artifacts on playback Segment single TS file to segments using Apple's HLS segmenter: playback is fine At this point I carefully examined the differences between Apple's HLS segmenter output and FFmpeg's. Among the considerable differences, I noticed that the video PES packets always had a 0 length. So I continued: Transcode to HLS using FFmpeg with 0 length PES packets: playback is fine. Segment single TS to segments with 0 length PES packets: playback is fine. All failures mentioned are only on the GTV since it is the only player on which I could reproduce artifacts. I only tested the GTV, VLC, and QuickTime Player though, so my test case is limited. I do not know if other players exhibit this issue. Since it was useful last time, I have uploaded the test file as hls_pes_packet_length.m4v along with its associated txt file which contains the transcode command-line that was used. Reviewed-by: Kieran Kunhya <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
60fcc19b9068614f25cf64dff5e4aa0e8dbff6a5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/60fcc19b9068614f25cf64dff5e4aa0e8dbff6a5
2014-04-22 16:05:25+02:00
truehd: add hand-scheduled ARM asm version of ff_mlp_pack_output. Profiling results for overall decode and the output_data function in particular are as follows: Before After Mean StdDev Mean StdDev Confidence Change 6:2 total 339.6 15.1 329.3 16.0 95.8% +3.1% (insignificant) 6:2 function 24.6 6.0 9.9 3.1 100.0% +148.5% 8:2 total 324.5 15.5 323.6 14.3 15.2% +0.3% (insignificant) 8:2 function 20.4 3.9 9.9 3.4 100.0% +104.7% 6:6 total 572.8 20.6 539.9 24.2 100.0% +6.1% 6:6 function 54.5 5.6 16.0 3.8 100.0% +240.9% 8:8 total 741.5 21.2 702.5 18.5 100.0% +5.6% 8:8 function 63.9 7.6 18.4 4.8 100.0% +247.3% The assembly version has also been tested with a fuzz tester to ensure that any combinations of inputs not exercised by my available test streams still generate mathematically identical results to the C version. Signed-off-by: Martin Storsjö <[email protected]>
3b5946bccef6cd219f01d22e542ca5c6de68a7be
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3b5946bccef6cd219f01d22e542ca5c6de68a7be
2014-03-26 19:54:32+02:00
avcodec/huffyuv: simplify allocation of temporaries This also fixes a null pointer dereference with rgb and plane prediction Signed-off-by: Michael Niedermayer <[email protected]>
4332b01c30a446e9c177fe44761a612daa0334c7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4332b01c30a446e9c177fe44761a612daa0334c7
2014-02-19 20:32:02+01:00
avcodec/hevc_ps: Use get_bits_long() in decode_vui() Fix assertion failure Fixes: a225222ef88a0f5b1e93e1d0432debc3-asan_static-oob_124a17d_1448_cov_77608227_DBLK_E_VIXS_1.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b818637b84948e917d11c987f2270cea5b3fcfea
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b818637b84948e917d11c987f2270cea5b3fcfea
2014-02-15 22:30:40+01:00
vp9: re-allocate block buffers on uses_2pass change w/o size change. Fixes valgrind errors and crashes in fuzzed9.ivf.
af63ea7078c8e43bc9299acbe2758b21623cffc4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/af63ea7078c8e43bc9299acbe2758b21623cffc4
2014-02-08 18:30:17+01:00
avcodec/hevc: hls_decode_entry: check that the previous slice segment is available before decoding the next Fixes use of uninitialized memory Fixes out of array read Fixes assertion failure Fixes part of cb307d24befbd109c6f054008d6777b5/asan_static-oob_124a175_1445_cov_2355279992_DBLK_D_VIXS_1.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
6ef57f4d9a0920c82237facb0d1f3856b17da9dc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6ef57f4d9a0920c82237facb0d1f3856b17da9dc
2014-02-07 04:40:37+01:00
samplefmt: avoid integer overflow in av_samples_get_buffer_size() CC:[email protected]
0e830094ad0dc251613a0aa3234d9c5c397e02e6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0e830094ad0dc251613a0aa3234d9c5c397e02e6
2014-02-04 12:32:47-05:00
avformat/jvdec: clear packet padding after downsize Fixes: use of uninitialized memeory Fixes: msan_uninit-mem_7fbf26b5fefe_5981_intro.jv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b948ab8132e24d215072120e210139dc456d4997
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b948ab8132e24d215072120e210139dc456d4997
2014-01-15 23:13:03+01:00
avformat/utils/av_probe_input_buffer2: fix offset check The check could fail if avio_read() read less than requested Signed-off-by: Michael Niedermayer <[email protected]>
8c3b026a0eeb49464d957b61b0c01cceecc416fd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8c3b026a0eeb49464d957b61b0c01cceecc416fd
2014-01-13 22:23:40+01:00
avcodec/mace: check buffer size Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f9d2775e090_8782_surge-2-8-MAC3.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
2e59ffbb7964214e192a9f77c4445ff29c6510d7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2e59ffbb7964214e192a9f77c4445ff29c6510d7
2014-01-02 22:07:09+01:00
avcodec/aacps: fix number of bands used with ipd/opd Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f861d16355f_1664_File1_fixed.aac Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
6433b393ba2b1b410ff18e386f84781a760549f5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6433b393ba2b1b410ff18e386f84781a760549f5
2014-01-02 17:48:01+01:00
avcodec/lagarith: reenable buggy lag_decode_zero_run_line() This is to prevent regressions in case the old code was able to partly decode frames (no way to say without a testcase) Add a memset to prevent use of uninitialized memory until we have a testcase and can test/fix it Signed-off-by: Michael Niedermayer <[email protected]>
6f1b2967712e25e4c39c506862982b3011e06532
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6f1b2967712e25e4c39c506862982b3011e06532
2013-12-30 13:47:34+01:00
avcodec/vmdav: return the amount of data that has been unpacked from lz_unpack() (as well as errors) and setup the bytestream buffer size accordingly Fixes use of uninitialized memory Fixes: msan_uninit-mem_7fdcc513cd45_229_12.vmd Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
f07ca542e371ec137d7192ccecf61ea889c13510
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f07ca542e371ec137d7192ccecf61ea889c13510
2013-12-25 00:44:58+01:00
vcodec/rv34: use av_mallocz() to allocate tables Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f75e2a55b88_4146_brokenaudio.rmvb Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
ea1e630c47e70672a7933c048090601ce09c8195
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ea1e630c47e70672a7933c048090601ce09c8195
2013-12-21 18:42:00+01:00
avformat/pva: Make sure the header is large enough before reading the timestamp from it Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f34b5dc6d58_2674_PVA_test-partial.pva Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
eedd9148733ff4467c62092ad1c1a26d6125b249
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eedd9148733ff4467c62092ad1c1a26d6125b249
2013-12-20 23:04:51+01:00
avformat/smacker: check for format mismatch more completely Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f6e83322950_9769_wetlogo.smk Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b07a5e9b6be902b70f536d9dce0dea45f48bc8d4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b07a5e9b6be902b70f536d9dce0dea45f48bc8d4
2013-12-20 18:31:42+01:00
avformat/ipmovie: Check that OPCODE_SET_PALETTE size is large enough Fixes use of uninitialized memory Fixes: msan_uninit-mem_7fec1f40656c_4819_descent3_level5_16bit_partial.mve Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
947e40b9feb8cd2817ce1bce0d2f6735b1144480
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/947e40b9feb8cd2817ce1bce0d2f6735b1144480
2013-12-18 23:44:52+01:00
avformat/ipmovie: Check that the OPCODE_INIT_AUDIO_BUFFERS size is large enough Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f75b03c1f19_4820_descent3_level5_16bit_partial.mve Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
8faabf3bd29cf587a8c5b8aa38836e9c99dba054
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8faabf3bd29cf587a8c5b8aa38836e9c99dba054
2013-12-18 23:15:18+01:00
avcodec/mjpegdec: use mallocz for progressive blocks Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f849c599487_6828_mjpeg.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
0c23ee131257403332d4d06113473241f14d1010
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0c23ee131257403332d4d06113473241f14d1010
2013-12-13 20:26:38+01:00
avformat/ipmovie: Fix use of uninitialized memory in OPCODE_INIT_VIDEO_BUFFERS Fixes: msan_uninit-mem_7ffe323a25f3_5929_ipmovie_interplayvideo_interplay_dpcm__bislogo.mve Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
7d7a701362867439e9ce04fb0227b53de62704c4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7d7a701362867439e9ce04fb0227b53de62704c4
2013-12-13 19:51:47+01:00
avcodec/mpegvideo_enc: Fix possibly exploitable security issue with -bf Signed-off-by: Michael Niedermayer <[email protected]>
2925571278bf09702564dfedd5e7731a112dd1f0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2925571278bf09702564dfedd5e7731a112dd1f0
2013-11-14 14:19:38+01:00
avformat/mpegvideodec: check seq headers more completely during probing Fixes probetest failure Signed-off-by: Michael Niedermayer <[email protected]>
3836af476534e6f84be7b3a19afce3530af50703
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3836af476534e6f84be7b3a19afce3530af50703
2013-11-07 20:39:08+01:00
lavf: Remove a now useless parameter to ffurl_register_protocol This was added in 9b07a2dc02e9 as an ABI hack to allow older code built with lavf 52 to register protocols even if the size of the URLProtocol struct was increased. Later, registering protocols from outside of lavf was removed and this workaround isn't needed any longer since lavf 53. This removes an unchecked malloc and a memory leak for the cases when this workaround actually was used - which it hasn't since lavf 53. Signed-off-by: Martin Storsjö <[email protected]>
0c5f839693da2276c2da23400f67a67be4ea0af1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0c5f839693da2276c2da23400f67a67be4ea0af1
2013-10-30 09:53:48+02:00
ffmpeg: Dont crash on unconnected output pads before an error is printed Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <[email protected]>
b36257921e5282c3069e1b5c6e7e758e566c7337
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b36257921e5282c3069e1b5c6e7e758e566c7337
2013-10-23 11:39:43+02:00
pthread: Avoid crashes/odd behavior caused by spurious wakeups This is similar to 5152196b2b47d446d9a509b9bfb318daa26a1f2b. Signed-off-by: Derek Buitenhuis <[email protected]>
3511d4fc9784d5fbb024dce68ca7a0d7fdd74663
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3511d4fc9784d5fbb024dce68ca7a0d7fdd74663
2013-10-22 13:24:01+01:00
avutil/log: fix race between setting and using the log callback Found-by: wm4 Signed-off-by: Michael Niedermayer <[email protected]>
3ed65d98c616d52e2544c8b81aa3997f28bb88f5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3ed65d98c616d52e2544c8b81aa3997f28bb88f5
2013-10-17 00:49:55+02:00
avcodec/jpeg2000dec: check transform equality in MCT Fixes null pointer dereference Fixes Ticket2843 Signed-off-by: Michael Niedermayer <[email protected]>
ac3b01a9c0607961f4540fe62040833870f5deb1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ac3b01a9c0607961f4540fe62040833870f5deb1
2013-10-13 19:23:24+02:00
x86inc: activate REP_RET automatically Now RET checks whether it immediately follows a branch, so the programmer dosen't have to keep track of that condition. REP_RET is still needed manually when it's a branch target, but that's much rarer. The implementation involves lots of spurious labels, but that's OK because we strip them. Signed-off-by: Derek Buitenhuis <[email protected]>
25cb0c1a1e66edacc1667acf6818f524c0997f10
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/25cb0c1a1e66edacc1667acf6818f524c0997f10
2013-10-07 06:17:59-04:00
VC1 VDPAU: Mark missing reference frames as such. Currently the code passes some nonsense values as references instead, causing corruption with NVidia's and assertion failures with Mesa's implementation. For non-corrupted input this mostly happens in interlaced bitstreams, e.g. http://samples.mplayerhq.hu/V-codecs/WMV9/interlaced/480i30__codec_WVC1__mode_2__framerate_29.970__type_2__preproc_17.wmv. The != VDP_INVALID handle assert does not trigger (and probably is quite nonsense) because the frames are initialized to 0. Signed-off-by: Reimar Döffinger <[email protected]>
af6e232ccf8db2341361f02852017aac48772950
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/af6e232ccf8db2341361f02852017aac48772950
2013-10-02 20:51:14+02:00
xxan: Disallow odd width Decoded data is always written in pairs within this decoder. This fixes writes out of bounds. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Martin Storsjö <[email protected]>
aa0dd52434768da64f1f3d8ae92bcf980c1adffc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aa0dd52434768da64f1f3d8ae92bcf980c1adffc
2013-09-29 20:02:32+03:00
avformat/movenchint: use realloc_array() to protect against integer overflow Signed-off-by: Michael Niedermayer <[email protected]>
05b7a635dc1e5266fb367ce8b0019a0830317879
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/05b7a635dc1e5266fb367ce8b0019a0830317879
2013-09-22 15:06:22+02:00