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
av_dict_set: fix potential memory leak with AV_DICT_DONT_OVERWRITE av_dict_set leaks it key/value arguments if AV_DICT_DONT_OVERWRITE is combined with AV_DICT_DONT_STRDUP_{KEY,VAL} and the key exists.
1619274fb393f55a365cc10f88faa173c9a8e772
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1619274fb393f55a365cc10f88faa173c9a8e772
2014-06-09 12:33:19+02:00
avcodec/wmv2enc: allocate padding for extradata and check malloc failure Signed-off-by: Michael Niedermayer <[email protected]>
6e8fe448154e1aa0928cb0d2e1aecb7255c751cc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6e8fe448154e1aa0928cb0d2e1aecb7255c751cc
2014-05-18 15:59:45+02:00
avcodec/mjpegdec: zero gb to silence warning about it being possibly uninitialized The code is not speed relevant, also its more robust if the pointers are NULL instead of random. Signed-off-by: Michael Niedermayer <[email protected]>
aff352be6339d9a3512bd5c1b65772b36c5204ee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aff352be6339d9a3512bd5c1b65772b36c5204ee
2014-05-08 17:37:40+02:00
mxfdec: Validate parameters to strftime The MSVCRT version of strftime calls the invalid parameter handler if the struct values in struct tm are invalid. In case no invalid parameter handler is set for the process, the process is aborted. This fixes fate failures on MSVC builds since 570af382. Based on a patch by Hendrik Leppkes. Signed-off-by: Martin Storsjö <[email protected]>
8cafeb8bca5d079041739dbd72ccec0ead138eaf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8cafeb8bca5d079041739dbd72ccec0ead138eaf
2014-03-10 11:11:08+02:00
avcodec/hevc: Dont turn 32bit timebases into negative numbers Fixes assertion failure Fixes: 499f6ecaeae8e3f79a115a72c61ffd15-asan_static-oob_124a175_2792_cov_1782273879_RPLM_A_qualcomm_4.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
bf2ce19e51fde57727a4ee33a4b3c2622f37a5c4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bf2ce19e51fde57727a4ee33a4b3c2622f37a5c4
2014-02-15 23:17:53+01:00
ra144: use scalarproduct_int16 The buffer holding the coefficients must be padded with 0 so as to use DSP functions that may overread. Currently, the SSE2/3 versions is an example, as they process batches of 16 bytes. Signed-off-by: Michael Niedermayer <[email protected]>
c3390fd56cf55259ea7665ecea6c8aeddf56e2fc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c3390fd56cf55259ea7665ecea6c8aeddf56e2fc
2014-02-10 21:45:55+01:00
avcodec/aac_adtstoasc_bsf: Fix memory leak Signed-off-by: Michael Niedermayer <[email protected]>
889afca369ef3a939c68592ef2b1a1756667ce21
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/889afca369ef3a939c68592ef2b1a1756667ce21
2014-02-03 15:06:41+01:00
vp9/x86: use explicit register for relative stack references. Before this patch, we explicitly modify rsp, which isn't necessarily universally acceptable, since the space under the stack pointer might be modified in things like signal handlers. Therefore, use an explicit register to hold the stack pointer relative to the bottom of the stack (i.e. rsp). This will also clear out valgrind errors about the use of uninitialized data that started occurring after the idct16x16/ssse3 optimizations were first merged.
c9e6325ed9844070dca03ac1c5fec946533cb315
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c9e6325ed9844070dca03ac1c5fec946533cb315
2014-01-24 19:25:25-05:00
avcodec/alac: only set *got_frame_ptr when all channels have been decoded Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f8b64436530_7895_quicktime_newcodec_applelosslessaudiocodec.m4a Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
e11983bda073f8c63f60509ee753da9fba20ed10
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e11983bda073f8c63f60509ee753da9fba20ed10
2014-01-11 04:37:27+01:00
avformat/adxdec: dont return random data on EOF Fixes use of uninitialized memory Partly fixes; msan_uninit-mem_7fb7d24780d0_2744_R03T.CAK Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
8aead3ffa89a7d92b54b049a63bf6485f643835b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8aead3ffa89a7d92b54b049a63bf6485f643835b
2014-01-07 16:05:56+01:00
lavc: do not leak the internal frame if opening the codec fails
50079a6aa93291e6dc9d9fb8d33da83f79e9311d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/50079a6aa93291e6dc9d9fb8d33da83f79e9311d
2014-01-06 08:21:58+01:00
oggparseogm: check timing variables Fixes a potential divide by zero. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:[email protected]
75647dea6f7db79b409bad66a119f5c73da730f3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/75647dea6f7db79b409bad66a119f5c73da730f3
2014-01-06 08:21:38+01:00
avformat/mov: check avio_read() return in mov_read_dref() Fixes: msan_uninit-mem_7f4960453a02_7264_mr_cork_jpeg.mov Fixes use of uninitialized memory Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
4156df59f59626f60186a4effed80f60c9c4e8cc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4156df59f59626f60186a4effed80f60c9c4e8cc
2013-12-27 23:37:17+01:00
avcodec/jpeg2000dec: zero Jpeg2000QuantStyle structure before use in get_qcd() Fixes: msan_uninit-mem_7f50b84aac30_6823_mjp2.mov Fixes use of uninitialized memory Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
55fa898969d10e2d47bba0613175bf57a86c5a41
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/55fa898969d10e2d47bba0613175bf57a86c5a41
2013-12-28 22:08:49+01:00
avformat/mov: check avio_read return in mov_read_dvc1() Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f46d5199ee1_9456_vc1-wmapro.ism Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
2a5fb0b13e218e6864825f8ff4ea7c6be21fb50b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2a5fb0b13e218e6864825f8ff4ea7c6be21fb50b
2013-12-25 14:55:28+01:00
avcodec/vqavideo: clear uninitialized parts of the decode buffer Fixes use of uninitialized memory Fixes part of msan_uninit-mem_7f841fe2ab3b_4608_cow2_1.vqa Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
03acb035d1292685cc24a2be0f62dd8332711734
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/03acb035d1292685cc24a2be0f62dd8332711734
2013-12-21 13:16:32+01:00
avformat/pva: Make sure the first byte of pes_header_data has been initialized Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f53c1d0e95c_2674_PVA_test-partial.pva Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
5ec3c7b7c1189dca0ba29edbd33b5dbe68313382
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5ec3c7b7c1189dca0ba29edbd33b5dbe68313382
2013-12-20 23:04:51+01:00
avformat/psxstr: zero packet to prevent uninitialized data to leak through to the decoder Fixes: msan_uninit-mem_7f150abf2e84_4817_descent-partial.str Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
4ecac816780dbb3d3297885856bde6e53a5f7708
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4ecac816780dbb3d3297885856bde6e53a5f7708
2013-12-16 04:32:50+01:00
avcodec/bink: use av_mallocz for data Fixes use of uninitialized memory Fixes msan_uninit-mem_7fe8a5fd759d_2838_SPECTRE.BIK Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
e838c9852e6f0a471a6917083e70e6fe238ba26a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e838c9852e6f0a471a6917083e70e6fe238ba26a
2013-12-15 16:53:32+01:00
avformat/utils: limit rfps to values larger than fps This avoids some nonsense values being produced by totally corrupted input Signed-off-by: Michael Niedermayer <[email protected]>
d600b18f224e02f8bfc6660bfa442e7ff3fb057c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d600b18f224e02f8bfc6660bfa442e7ff3fb057c
2013-12-15 21:43:19+01:00
avformat/aviobuf: fix null dereference in avio_close_dyn_buf() Fixes CID1135769 Signed-off-by: Michael Niedermayer <[email protected]>
7441d1ec330da810a0ffd44a02b2fc60add5b719
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7441d1ec330da810a0ffd44a02b2fc60add5b719
2013-12-11 16:16:04+01:00
avcodec/hnm4video: check intraframe size Fixes hypothetical integer overflow with HNM4_CHUNK_ID_IZ Signed-off-by: Michael Niedermayer <[email protected]>
0398b7cbd39abb049775d558ccc4ccf6dc01e92c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0398b7cbd39abb049775d558ccc4ccf6dc01e92c
2013-11-22 17:02:00+01:00
lavd/xv: fix memory leak Results of XvQueryAdaptors have to be freed with XvFreeAdaptorInfo. Signed-off-by: Lukasz Marek <[email protected]>
f04fe23a5256cc82c383f2949ead78cb7cc9228d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f04fe23a5256cc82c383f2949ead78cb7cc9228d
2013-11-13 11:34:19+01:00
h263: Check init_get_bits return value And use init_get_bits8 to check for integer overflows while at it. CC: [email protected] Signed-off-by: Luca Barbato <[email protected]>
aaaf2dc023d31f30eeec874f24b50f44b9295185
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aaaf2dc023d31f30eeec874f24b50f44b9295185
2013-10-28 00:04:49+01:00
avcodec/hevcpred_template: Fix integer overflows signed integer overflow is undefined in C Fixes the following gcc warnings: In file included from libavcodec/hevcpred.c:27:0: libavcodec/hevcpred_template.c: In function ‘intra_pred_8’: libavcodec/hevcpred_template.c:302:9: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] In file included from libavcodec/hevcpred.c:31:0: libavcodec/hevcpred_template.c: In function ‘intra_pred_9’: libavcodec/hevcpred_template.c:302:9: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] In file included from libavcodec/hevcpred.c:35:0: libavcodec/hevcpred_template.c: In function ‘intra_pred_10’: libavcodec/hevcpred_template.c:302:9: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] Signed-off-by: Michael Niedermayer <[email protected]>
09ef98f1ae3c8a4e08b66f41c3bd97dd7b07405f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/09ef98f1ae3c8a4e08b66f41c3bd97dd7b07405f
2013-10-27 11:54:53+01:00
avformat/bintext: protect against potential overflow of chars_per_frame Signed-off-by: Michael Niedermayer <[email protected]>
7e3e653618a59960b4c358e333ba2c0d21929e33
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7e3e653618a59960b4c358e333ba2c0d21929e33
2013-10-21 23:37:49+02:00
avformat/network: check for fcntl() failure in ff_socket() Fixes: CID1087075 Signed-off-by: Michael Niedermayer <[email protected]>
baab248c499a7689aefb5f2e9c004338deb08d74
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/baab248c499a7689aefb5f2e9c004338deb08d74
2013-10-20 16:34:32+02:00
rtmpproto: Move the flv header/trailer addition to append_flv_data update_offset is also called from handle_metadata, where the packet header sizes is already included in the size. Previously this lead to flv_data/flv_size including 15 uninitialized bytes at the end after each call to handle_metadata, making the flv demuxer lose sync with the stream. Also remove leftover copying in handle_metadata. This is a leftover from the refactoring in 5840473. (Previously this final mempcy was the one that copied all the packets at once, while this is done within the loop right now.) After making sure flv_size is set to the right size, this write was out of bounds. Signed-off-by: Martin Storsjö <[email protected]>
24fee95321c1463360ba7042d026dae021854360
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/24fee95321c1463360ba7042d026dae021854360
2013-10-04 09:25:07+03:00
avcodec/x86/dsputil_init: fix cpu flag checks Fixes linking failure with --disable-sse2 Signed-off-by: Michael Niedermayer <[email protected]>
1bf8fa75ee148f40938d47bb9aaf53ac3c1ae126
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1bf8fa75ee148f40938d47bb9aaf53ac3c1ae126
2013-10-15 01:46:21+02:00
ffprobe: fix uninitialized variable warning Fix warning: ffprobe.c:1684:21: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized] end = start + interval->end; The warning is a false positive, since the variable is accessed only if has_start is set, and in that case start has been already set.
7bac6e5cf81b1f956f06d15546a376e32f4ea558
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7bac6e5cf81b1f956f06d15546a376e32f4ea558
2013-09-23 14:16:34+02:00
h264: disable checking reader, overreads are not possible in ffmpegs h264 decoder. Signed-off-by: Michael Niedermayer <[email protected]>
38331d2036c3bd1b8f070b1fe351bb4fbfac0c34
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/38331d2036c3bd1b8f070b1fe351bb4fbfac0c34
2011-12-18 03:17:44+01:00
avcodec/assenc: fix potential overread.
860a0810583f54ccbde912aebda8711f18eab8eb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/860a0810583f54ccbde912aebda8711f18eab8eb
2013-09-08 18:50:25+02:00
avcodec/ratecontrol: give some trivial tips in case of buffer underflows See Ticket2725 Signed-off-by: Michael Niedermayer <[email protected]>
d8fb170da2e7edbfd250c1d8e1de6b1a0e965170
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d8fb170da2e7edbfd250c1d8e1de6b1a0e965170
2013-09-08 23:11:39+02:00
avformat/subtitles: add a next line jumper and use it. This fixes a bunch of possible overread in avformat with the idiom p += strcspn(p, "\n") + 1 (strcspn() can focus on the trailing '\0' if no '\n' is found, so the +1 leads to an overread). Note on lavf/matroskaenc: no extra subtitles.o Makefile dependency is added because only the header is required for ff_subtitles_next_line(). Note on lavf/mpsubdec: code gets slightly complex to avoid an infinite loop in the probing since there is no more forced increment.
90fc00a623de44e137fe1601b91356e8cd8bdd54
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/90fc00a623de44e137fe1601b91356e8cd8bdd54
2013-09-08 18:48:09+02:00
avpacket: Fixing side data copy when src == dst Fixing av_packet_copy_side_data to work correctly when source and destination are the same. This makes sure that there is no memory leak and double frees. Signed-off by: Vignesh Venkatasubramanian <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
fdd1aaf87aaedef00f8b60ad148ccf48226b9d5c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fdd1aaf87aaedef00f8b60ad148ccf48226b9d5c
2013-09-02 21:40:15+02:00
avfilter/avfilter: fix null pointer dereference with queued ping filters Signed-off-by: Michael Niedermayer <[email protected]>
bb23bf8fd7fb4771b0f08a4ee1ba8fe6ca16d14f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bb23bf8fd7fb4771b0f08a4ee1ba8fe6ca16d14f
2013-09-10 13:39:57+02:00
avcodec/avpacket: Use av_free_packet() in error cleanups This prevents memleaks on errors reproduceable with fate when error pathes are forced Signed-off-by: Michael Niedermayer <[email protected]>
6e1b1a27a4034c578018d5042b3c8228278c4cd6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6e1b1a27a4034c578018d5042b3c8228278c4cd6
2013-08-30 21:43:35+02:00
avformat/oggparsevorbis: fix leak of tt Fixes CID1061059 Fixes fate Signed-off-by: Michael Niedermayer <[email protected]>
f3b7f470701224086d06012f1d9a31864abe9300
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f3b7f470701224086d06012f1d9a31864abe9300
2013-08-07 17:20:39+02:00
ffv1enc: Make ffv1.3 non experimental The fate tests change as they used 1.2 previously The increased size is due to: 32bit CRCs per slice by default (can be disabled), it adds slice headers to allow decoding one slice without the others an additional slice size field is added to make it possible to find slices within corrupted surroundings. these add up to about 57bit per slice more at 50 frames and 4 slices thats 1425 byte Signed-off-by: Michael Niedermayer <[email protected]>
abe76b851c05eea8743f6c899cbe5f7409b0f301
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/abe76b851c05eea8743f6c899cbe5f7409b0f301
2013-08-26 17:33:53+02:00
oma: check geob tag boundary Prevent read after buffer boundary on corrupted tag. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
9d0b45ade864f3d2ccd8610149fe1fff53c4e937
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9d0b45ade864f3d2ccd8610149fe1fff53c4e937
2013-07-28 22:54:55+02:00
wtv: Make WTV_SECTOR_BITS a 64 bit constant This makes sure that values that are left-shifted by this constant end up casted to 64 bit before shifting, avoiding overflow if the value ends up larger than 2 GB. Signed-off-by: Martin Storsjö <[email protected]>
86f042dcabde2a5386dbd95ab0451b274987d253
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/86f042dcabde2a5386dbd95ab0451b274987d253
2013-07-26 23:05:14+03:00
Revert "avformat/utils: Close codec context since it is allocated by avformat_new_stream in refrence to ticket 2716" This causes a race condition with VLC. Its plausible that other applications also would have races with it and its just fixing a memleak when the user application forgets to free the codec. It causes more problems than it solves in its current form, thus the revert. Better solutions are welcome This reverts commit 0f229f9b91fe3c4ebd97e88f004d638819b76add.
37ecd67b5e149e55d71b1d8950abc5476d56999a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/37ecd67b5e149e55d71b1d8950abc5476d56999a
2013-07-21 17:57:15+02:00
imc: Catch a division by zero Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Kostya Shishkov Signed-off-by: Michael Niedermayer <[email protected]>
87fb18c3e4fea70d264c49428a66f86baf048450
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/87fb18c3e4fea70d264c49428a66f86baf048450
2013-07-09 16:20:50+02:00
tiff: do not overread the source buffer At least 2 bytes from the source are read every loop. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
9c2216976907336dfae0e8e38a4d70ca2465a92c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9c2216976907336dfae0e8e38a4d70ca2465a92c
2013-06-07 17:23:53+02:00
mem: Add av_realloc_array and av_reallocp_array These help avoiding overflows and simplify error handling. Signed-off-by: Martin Storsjö <[email protected]>
fc962d4e7a7c3d799d9364d5427564c22ee3880c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fc962d4e7a7c3d799d9364d5427564c22ee3880c
2013-06-04 15:04:08+03:00
avformat/matroskadec: fix integer overflow Fixes fate-mkv with ekopath 4 Signed-off-by: Michael Niedermayer <[email protected]>
729fa55b8f4250b2fee7f4a511372d0b9f696389
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/729fa55b8f4250b2fee7f4a511372d0b9f696389
2013-05-19 23:38:01+02:00
vorbis: fallback to normal division instead of crashing The use of ff_inverse speeds up slightly arches + compilers that do not provide a division faster than the whole machinery, such as ppc32 + gcc4.7, but has operational limits. Drop the always-enable assert and provide a fallback.
db347280eb3746d7b70888db97f1efe5f06f5624
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/db347280eb3746d7b70888db97f1efe5f06f5624
2013-05-19 22:56:37+02:00
cdgraphics: initialize buffer Prevent use of uninitialized memory Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
f9db2fc84d3d061720ceb8e1b7425b48bdb1a119
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f9db2fc84d3d061720ceb8e1b7425b48bdb1a119
2013-05-13 14:39:32+02:00
sws/output/yuv2gbrp_full_X_c(): silence warning about uninitialized variable clang did not show this one, so i missed it in the last batch Signed-off-by: Michael Niedermayer <[email protected]>
7ded0179832b3d8a2e332d73bd289e47e78c8f34
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7ded0179832b3d8a2e332d73bd289e47e78c8f34
2013-05-10 20:36:12+02:00
wmaprodec: Fix null pointer dereference in decode_frame() Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c7a7605656633e52ade8a5d32a7c2497b37faef8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c7a7605656633e52ade8a5d32a7c2497b37faef8
2013-05-04 16:51:01+02:00
lavfi/buffersink: fix possible leaks after allocation failures. Should fix Coverity CID 1005313, 1005314, 1005315.
fd7a7e11b94b12259c6f1e375da15298cbc37e83
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fd7a7e11b94b12259c6f1e375da15298cbc37e83
2013-04-21 16:11:36+02:00
x86: ac3dsp: Remove 3dnow version of ff_ac3_extract_exponents The function requires increasing the fuzz factor for the ac3/eac3 encode tests and even so makes fate fail. It only provides a slight encoding speedup for legacy CPUs that do not support SS2. Thus its benefit is not worth the trouble it creates and fixing it would be a waste of time.
7c00e9d8aed8511c44281d7b05562578a3fcd4c8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7c00e9d8aed8511c44281d7b05562578a3fcd4c8
2013-04-26 21:06:52+02:00
lavfi/overlay: fix crash in case of invalid expression
aff6cebb41669a25008f76ce3c310001613e6263
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aff6cebb41669a25008f76ce3c310001613e6263
2013-04-12 00:09:41+02:00
msmpeg4: ignore negative DC overflow Fixes second half of Ticket2414 Signed-off-by: Michael Niedermayer <[email protected]>
b4eb06d32535958d71568503cf886f448a5164ed
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b4eb06d32535958d71568503cf886f448a5164ed
2013-04-09 16:27:49+02:00
get_video_buffer: add vertical padding Fix memory corruption Signed-off-by: Michael Niedermayer <[email protected]>
1ad542f11f4717a9dee19d46f4da5ce3f6beb449
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1ad542f11f4717a9dee19d46f4da5ce3f6beb449
2013-03-12 11:33:43+01:00
ff_alloc_picture: free tables in case of dimension mismatches Fixes memory corruption In theory this should not be needed but its better to check at one place than to hope 50 other places set the flags correctly
ee3c3dd523623e0d9e69aa2ce268fef82b201458
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ee3c3dd523623e0d9e69aa2ce268fef82b201458
2013-03-12 03:23:55+01:00
vf_pad: fix a & instead of && typo Avoid buffer overflow in buffer_needs_copy() Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
5d639b2b4a6d1f5710cfe247dea4d4c6debdfe0d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5d639b2b4a6d1f5710cfe247dea4d4c6debdfe0d
2013-03-10 11:16:10+01:00
png: use av_mallocz_array() for the zlib zalloc function Fixes valgrind uninitialized memory errors when decoding png. CC:[email protected]
486f0b0cfc800cd38ec06635630539431d296774
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/486f0b0cfc800cd38ec06635630539431d296774
2013-03-08 14:52:21-05:00
loco: silence warning: decoded may be used uninitialized in this function Signed-off-by: Michael Niedermayer <[email protected]>
c4735eef033e7638fa103f2dd292898945f7f24f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c4735eef033e7638fa103f2dd292898945f7f24f
2013-02-28 18:10:49+01:00
aacsbr: Silence warning: max_qmf_subbands may be used uninitialized in this function Signed-off-by: Michael Niedermayer <[email protected]>
c6d3b3be1555257ff3f88da6b8dca2158dad2a85
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c6d3b3be1555257ff3f88da6b8dca2158dad2a85
2013-02-26 16:36:29+01:00
swr/resample: fix integer overflow, add missing cast The effects of this are limited to numeric errors in the output Signed-off-by: Michael Niedermayer <[email protected]>
b8c55590d54dc076fb7cd003317cbd84cb7d8855
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b8c55590d54dc076fb7cd003317cbd84cb7d8855
2013-02-04 04:05:59+01:00
h264: silence warning about array index being out of bounds The index is not out of bounds, adding an assert makes gcc realize this. Signed-off-by: Michael Niedermayer <[email protected]>
cdc48860a8cbb0080acc0732b2e1c689cea03777
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cdc48860a8cbb0080acc0732b2e1c689cea03777
2013-02-02 16:20:19+01:00
lavfi/af_amerge: check for buffer queue overflows. Without that test, ff_bufqueue_add silently discards the oldest buffer, that leaves in[i].nb_samples inconsistent, and causes later a segfault.
ae14887ee7f2a2c02957845b84afd711cf702b9b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ae14887ee7f2a2c02957845b84afd711cf702b9b
2013-01-31 21:03:54+01:00
ff_mss12_decode_init: check dimensions Fixes assertion failure Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
ee9151b616fa7fa5e9b3258ecafd00c9f784baaa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ee9151b616fa7fa5e9b3258ecafd00c9f784baaa
2013-01-24 01:47:20+01:00
mvdec: use avpriv_set_pts_info() instead of directly setting tb. Fixes division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
4c9f35bb7c94d20455d3fca3a184b892f1a0aa4e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4c9f35bb7c94d20455d3fca3a184b892f1a0aa4e
2013-01-22 22:41:09+01:00
vp3: Fix double free in vp3_decode_end() Signed-off-by: Dale Curtis <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
ec86ba57312745fd7ad9771e3121e79c6aacba30
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ec86ba57312745fd7ad9771e3121e79c6aacba30
2013-01-10 20:05:42+01:00
wmv2: move IDCT to its own DSP context. This allows us to remove FF_IDCT_WMV2, which serves no practical purpose other than to be able to select the WMV2 IDCT for MPEG (or vice versa) and get corrupt output. Fate tests for all wmv2-related tests change, because (for some obscure reason) they forced use of the MPEG IDCT. You would get the same changes previously by not using -idct simple in the fate test (or replacing it with -idct auto).
e6bc38fd49c94726b45d5d5cc2b756ad8ec49ee0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e6bc38fd49c94726b45d5d5cc2b756ad8ec49ee0
2013-01-20 22:12:35-08:00
h264: reset first_field when current_picture_ptr is reset Fixes NULL pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b53adef07b9b3c6f255b43815e26eb21508bacc5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b53adef07b9b3c6f255b43815e26eb21508bacc5
2013-01-11 23:14:51+01:00
au: do not arbitrarily limit channel count Nothing in the AU specification sets a limit on channel count. We only need to avoid an overflow in the packet size calculation.
fb48f825e33c15146b8ce4e5258332ebc4a9b5ea
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fb48f825e33c15146b8ce4e5258332ebc4a9b5ea
2013-01-09 11:52:57-05:00
lavfi: fix use-after-free in ff_filter_frame. Unlike the original ff_start_frame code, the incoming reference may be freed before that point. Fix CID966654.
ff6b34009d4571ae0a4d130c0f8d27706a4c4026
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ff6b34009d4571ae0a4d130c0f8d27706a4c4026
2013-01-08 13:31:33+01:00
bktr: fix warning: missing braces around initializer Signed-off-by: Michael Niedermayer <[email protected]>
4f1d7cc0ed66f4ab390631722a7daa660e55a0f3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4f1d7cc0ed66f4ab390631722a7daa660e55a0f3
2012-12-29 19:27:07+01:00
ivi_common: Fix use of uninitialized warnings Signed-off-by: Michael Niedermayer <[email protected]>
30872fa09be99a0af65d14f28c0c5d91120065f0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/30872fa09be99a0af65d14f28c0c5d91120065f0
2012-12-29 03:07:45+01:00
mpegvideo: initialize videodsp with correct pixel depth Fixes decoding of 9/10 bit per pixel h264 videos as reported in https://bugzilla.libav.org/show_bug.cgi?id=404 .
1f4ea4e068f1131bff6c246308f52acbf1347cc2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1f4ea4e068f1131bff6c246308f52acbf1347cc2
2012-12-26 00:24:21+01:00
x86/ac3dsp_init: try to workaround ICC failure. The asm code is not valid for older compilers as it uses too many operands, ICC on x86_32 seems affected by this. This patch disables the affected code for ICC on x86_32 and should make it compileable again. A better fix would be to use fewer operands or to change this code to yasm, later is being worked on AFAIK so this is a temporary solution. Signed-off-by: Michael Niedermayer <[email protected]>
3e1577533318e2ebd6eb7ea632f1322ed4df3035
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3e1577533318e2ebd6eb7ea632f1322ed4df3035
2012-12-23 19:27:19+01:00
mxfdec: fix leak of extradata Reviewed-by: Tomas Härdin <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
b65570808cb3b518f969f9288fe643bca6361b8f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b65570808cb3b518f969f9288fe643bca6361b8f
2012-12-11 14:43:47+01:00
h264: check sps.log2_max_frame_num for validity Fixes infinite or long taking loop in frame num gap code in the fuzzed sample bipbop234.ts_s223302. CC: [email protected]
d7d6efe42b0d2057e67999b96b9a391f533d2333
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d7d6efe42b0d2057e67999b96b9a391f533d2333
2012-12-07 11:43:28+01:00
configure: Fix ARM thumb detection The detection detects the default but not if it even works. Check building a simple piece of code and disable thumb if it fails This fixes a compile failure If someone has a better idea, just replace this by it! Signed-off-by: Michael Niedermayer <[email protected]>
400647f9ba6a65e45dbdd57ee05560758cfafdec
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/400647f9ba6a65e45dbdd57ee05560758cfafdec
2012-12-04 05:47:10+01:00
mpc8: check seektable size before attempting to use it. Fixes null pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b61ba262a1e275f8129b7383d70fe48051b47fcf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b61ba262a1e275f8129b7383d70fe48051b47fcf
2012-12-02 04:21:42+01:00
h264: enable low delay only if no delayed frames were seen Dropping frames is undesirable but that is the only way by which the decoder could return to low delay mode. Instead emit a warning and continue with delayed frames. Fixes a crash in fuzzed sample nasa-8s2.ts_s20033 caused by a larger than expected has_b_frames value. Low delay keeps getting re-enabled from a presumely broken SPS. CC: [email protected]
706acb558a38eba633056773280155d66c2f4b24
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/706acb558a38eba633056773280155d66c2f4b24
2012-11-26 10:25:39+01:00
x86: lavr: fix stack allocation for 7 and 8 channel downmixing on x86-32 Fixes crashes on Win32 and stack overruns on x86-32 in general.
7a9e65aceee678ee2677480579cb3b2208474140
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7a9e65aceee678ee2677480579cb3b2208474140
2012-11-17 20:16:04-05:00
matroskadec: check h in generic rm packet shuffler Fixes crash Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c2ca0163affa524f4074c6328bf85c944b65dba2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c2ca0163affa524f4074c6328bf85c944b65dba2
2012-11-11 01:19:44+01:00
lavf: fix integer overflow in rfps calculation Signed-off-by: Michael Niedermayer <[email protected]>
f742c7b2cef7975cb46e7da8c3aff85a085b5193
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f742c7b2cef7975cb46e7da8c3aff85a085b5193
2012-11-01 21:37:29+01:00
mxfdec: Fix a potential DoS vector in mxf_read_pixel_layout() There's a a potential DoS problem in this function. Say an MXF file is created with a PixelLayout with a long run of non-zeroes. Such a file could be sent quickly (packed) over the net and would unpack quite fast. mxfdec would then read it byte-by-byte, which would take considerable time. Signed-off-by: Michael Niedermayer <[email protected]>
1d22d269f54cc7e44f778bb6ffee96a172eb07a1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1d22d269f54cc7e44f778bb6ffee96a172eb07a1
2012-10-24 17:44:35+02:00
j2k: reorder multiplications to avoid interger overflows related to precincts Fixes CID703778, CID703777 Signed-off-by: Michael Niedermayer <[email protected]>
da317efd92561290952a8aa191f1e5ea498a27c4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/da317efd92561290952a8aa191f1e5ea498a27c4
2012-10-23 00:03:49+02:00
nutdec: fix integer overflow Fixes CID700575 Signed-off-by: Michael Niedermayer <[email protected]>
73581afe01b41d0028afb6b14f5493568cf1be3d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/73581afe01b41d0028afb6b14f5493568cf1be3d
2012-10-20 20:45:32+02:00
tiffenc: fix integer overflow Fixes CID700699 Signed-off-by: Michael Niedermayer <[email protected]>
d50aa006fb3430bedc3872ba10e028a714499625
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d50aa006fb3430bedc3872ba10e028a714499625
2012-10-19 03:36:42+02:00
avio: redesign ffio_rewind_with_probe_data() This prevents a double free Fixes CID718285 Signed-off-by: Michael Niedermayer <[email protected]>
120b38b966b92a50dd36542190d35daba6730eb3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/120b38b966b92a50dd36542190d35daba6730eb3
2012-10-13 02:08:59+02:00
avstring-test: fix memory leaks Signed-off-by: Mans Rullgard <[email protected]>
0daac647af00b7cf591d1360115a725e300ca3b2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0daac647af00b7cf591d1360115a725e300ca3b2
2012-10-12 23:51:12+01:00
a64multienc: change mc_frame_counter to unsigned GCC cannot proof that c->mc_frame_counter is always >- 0, changing the type from int to unsigned fixes following warning: libavcodec/a64multienc.c: In function ‘a64multi_encode_frame’: libavcodec/a64multienc.c:342:17: warning: ‘buf’ may be used uninitialized in this function[-Wuninitialized] Signed-off-by: Janne Grunau <[email protected]>
706a559b30087f18ceb533be2c528ac2ff9d96ca
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/706a559b30087f18ceb533be2c528ac2ff9d96ca
2012-10-10 15:33:06+02:00
lavc/h264: move ff_init_cabac_states() from decode_slice() to ff_h264_decode_init(). This fixes one of the potential races spotted by Helgrind.
1e2e2c8095de2d9ea3259305cfeff28f40e4ca12
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1e2e2c8095de2d9ea3259305cfeff28f40e4ca12
2012-10-03 15:38:22+02:00
dfa: check that the caller set width/height properly. Fixes CVE-2012-2786.
ee715f49a06bf3898246d01b056284a9bb1bcbb9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ee715f49a06bf3898246d01b056284a9bb1bcbb9
2012-09-29 09:27:08+02:00
Remove code that duplicates existing code a few lines down. This also fixes a potential crash since s->pb can be NULL. Signed-off-by: Reimar Döffinger <[email protected]>
07d2d063954251bdefe34d7d1f8de751eec606be
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/07d2d063954251bdefe34d7d1f8de751eec606be
2012-09-17 21:17:43+02:00
avfiltergraph: silence an uninitialized variable warning The warning is: libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’: libavfilter/avfiltergraph.c:528:9: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized] libavfilter/avfiltergraph.c:479:13: note: ‘best_idx’ was declared here Initialize it to an invalid value and add an assert that it's properly set later.
e3496e5dbe277e056800ebe7740ac6467d35d5cb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e3496e5dbe277e056800ebe7740ac6467d35d5cb
2012-09-17 15:48:20+02:00
lavf probe: prevent codec probe with no data at all seen This occurs with fuzzed mpeg-ts files. set_codec_from_probe_data() is called with a zeroed AVProbeData since no packet made through for specific stream.
6746cd7f61964f94f949606f839598861472dcff
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6746cd7f61964f94f949606f839598861472dcff
2012-09-20 14:50:06+02:00
avidec/guess_ni_flag: fix harmless integer overflow Signed-off-by: Michael Niedermayer <[email protected]>
108957c661f9e2dc35dea8d55e5e5b1776f4a303
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/108957c661f9e2dc35dea8d55e5e5b1776f4a303
2012-09-10 16:56:59+02:00
adpcmenc: Calculate the IMA_QT predictor without overflow Previously, the value given to put_bits was 10 bits long for positive predictors, even though 9 bits were to be written. The extra bit could in some cases overwrite existing bits in the bitstream writer cache. This fixes a failed assert in put_bits.h, when running a version built with -DDEBUG. The fate test result gets slightly improved, thanks to getting rid of the overwritten bits in the bitstream writer cache. Signed-off-by: Martin Storsjö <[email protected]>
aa264da5bf6a3d82a47abba4cfcfa629dd1f3daa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aa264da5bf6a3d82a47abba4cfcfa629dd1f3daa
2012-09-04 15:30:58+03:00
cllc: Pad swapped buffer The bitstream buffer must be padded, or the bitstream reader might read over the end. Fixes the following valgrind warning: Use of uninitialised value of size 8 at 0x591BAE: cllc_decode_frame (cllc.c:166) Signed-off-by: Derek Buitenhuis <[email protected]>
aa7a5651019a2c603aff2c265777206ef4da742a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aa7a5651019a2c603aff2c265777206ef4da742a
2012-08-24 22:19:21-04:00
mpegvideo: dont call draw edges on lowres this crashes otherwise, and can happen from try_decode_frame() in the case of decoding errors Fixes Ticket1602 Signed-off-by: Michael Niedermayer <[email protected]>
0114c571d4c8cc1036850ced924683709390681a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0114c571d4c8cc1036850ced924683709390681a
2012-08-15 22:42:30+02:00
examples/decoding_encoding: re-organize frame configuration code Put the relevant code in one chunk, also check for frame allocation failures.
535df748c5043bac6b03e598cfa93160ecce8383
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/535df748c5043bac6b03e598cfa93160ecce8383
2012-08-22 11:54:24+02:00
udp: do not call pthread_{mutex,cond}_destroy when not initialized. This seems to cause a crash on Windows. The author of that patch was a random guy on IRC who wants to stay anonymous.
388243bb27f3d9b8f50d54268a784d55a7171f10
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/388243bb27f3d9b8f50d54268a784d55a7171f10
2012-08-06 10:06:26+02:00