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
avcodec/vc1dec: do not crash when flushing without an allocated frame Fixes Ticket3837 Found-by: Piotr Bandurski <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
6801eb0a0981f113f5f09ed4799d9ae805af62a3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6801eb0a0981f113f5f09ed4799d9ae805af62a3
2014-08-11 02:16:43+02:00
avcodec/h264_slice: More complete cleanup in h264_slice_header_init() Fixes null pointer dereference Fixes Ticket3873 Signed-off-by: Michael Niedermayer <[email protected]>
1fa35e4352cc39894987e14de464e3d72b55739f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1fa35e4352cc39894987e14de464e3d72b55739f
2014-08-23 03:47:14+02:00
avcodec/hevc_ps: Check abs_delta_rps Fixes integer overflow Signed-off-by: Michael Niedermayer <[email protected]>
d13a731fc149d3fdbe679078479ec1950674e762
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d13a731fc149d3fdbe679078479ec1950674e762
2014-07-19 17:30:44+02:00
x86: huffyuv: fix {add,diff}_int16 They used an extra, undeclared register. Fixes a crash in fate-vsynth3-ffvhuff444p16 Signed-off-by: Michael Niedermayer <[email protected]>
508e7a5c16c93ae3df31d79b7e808cb7bc893b52
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/508e7a5c16c93ae3df31d79b7e808cb7bc893b52
2014-06-12 00:26:19+02:00
avcodec/vda_h264: fix null pointer dereference Signed-off-by: Michael Niedermayer <[email protected]>
2856332719d8ec182523f7793bb0517aaac68e73
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2856332719d8ec182523f7793bb0517aaac68e73
2014-05-12 02:25:58+02:00
avcodec/cinepakenc: Fix "may be used uninitialized in this function" warnings Signed-off-by: Michael Niedermayer <[email protected]>
364e8904ce915a3fbb1bb86c29e81e9475b37fb9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/364e8904ce915a3fbb1bb86c29e81e9475b37fb9
2014-05-08 16:40:58+02:00
avformat/mxfenc: set/force channelcount in MXF D-10 There are interoperability issues with D-10 related to the channelcount property in the generic sound essence descriptor. On one side, SMPTE 386M requires channel count to be 4 or 8, other values being prohibited. The most widespread value is 8, which seems straightforward as it is the actual size of the allocated structure/disk space. At the end, it appears that some vendors or workflows do require this descriptor to be 8, and otherwise just "fail". On the other side, at least AVID and ffmpeg do write/set the channel count to the exact number of channels really "used", usually 2 or 4, or any other value. And on the decoding side, ffmpeg (for example) make use of the channel count for probing and only expose this limited number of audio streams (which make sense but has strong impact on ffmpeg command line usage, output, and downstream workflow). At the end, I find it pretty usefull to simply give ffmpeg the ability to force/set the channel count to any value the user wants. (there are turnaround using complex filters, pans, amerge etc., but it is quite boring and requires the command line to be adapted to the input file properties) Reviewed-by: Matthieu Bouron <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
3eae34d50fc52ff7b8367f9ade1cd189bfc1a221
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3eae34d50fc52ff7b8367f9ade1cd189bfc1a221
2014-06-26 01:01:22+02:00
fic: Remove redundant clips The equations can't overflow or underflow anyway. Signed-off-by: Derek Buitenhuis <[email protected]>
7596fc3d4b616318ac42a6cc011fe20f3ff7aaa9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7596fc3d4b616318ac42a6cc011fe20f3ff7aaa9
2014-04-23 12:40:39-04:00
adpcmenc: check for coded_frame allocation failure
cb023d9afe9da0a9d221b5eeddd2981c520b5978
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cb023d9afe9da0a9d221b5eeddd2981c520b5978
2012-01-30 19:12:55-05:00
replaygain: correctly parse peak values According to the ReplayGain spec, the peak amplitude may overflow and may result in peak amplitude values greater than 1.0 with psychoacoustically coded audio, such as MP3. Fully compliant decoders must allow peak overflows. Additionally, having peak values in the 0<->UINT32_MAX scale makes it more difficult for applications to actually use the peak values (e.g. when implementing clipping prevention) since values have to be rescaled down. This patch corrects the peak parsing by removing the rescaling of the decoded values between 0 and UINT32_MAX and the 1.0 upper limit. Signed-off-by: Anton Khirnov <[email protected]>
8542f9c4f17125d483c40c0c5723842f1c982f81
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8542f9c4f17125d483c40c0c5723842f1c982f81
2014-04-04 17:40:19+02:00
avcodec/mpegvideo: make mc_mb_var_sum / mb_var_sum 64bit This avoids a hypothetical integer overflow with very high resolution video Signed-off-by: Michael Niedermayer <[email protected]>
e92a78a4095d69d876bef189225608a35166dc4a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e92a78a4095d69d876bef189225608a35166dc4a
2014-03-21 18:24:56+01:00
avcodec/mpeg4videodec: set field durations to safe values when they are invalid Fixes division by 0 Fixes: 3c980274cecaca6ca5d6e517c0c1983e-signal_sigabrt_7ffff7125425_410_cov_3621042467_2_audio_streams.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
36fb07d1abc7738427c98cfb154e2d1b9bcc40fe
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/36fb07d1abc7738427c98cfb154e2d1b9bcc40fe
2014-02-19 13:45:39+01:00
avcodec/ansi: fix integer overflow Fixes out of array read Fixes: 5f9698e86d92f19bb08d54ff0d57027f-signal_sigsegv_b30756_3795_cov_2693691257_ansi256.ans Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
d42ec8433c687fcbccefa51a7716d81920218e4f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d42ec8433c687fcbccefa51a7716d81920218e4f
2014-02-17 20:50:33+01:00
avformat/bink: Check return value of av_add_index_entry() Fixes null pointer dereference Fixes: cdbf15cbd0a27cee958dd0b8800e452e-signal_sigsegv_737991_2083_cov_317652874_LBSTART.BIK Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
c57fc97e956a52edc94a38ff0ecd3058b44c15b7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c57fc97e956a52edc94a38ff0ecd3058b44c15b7
2014-02-17 23:47:05+01:00
lagarith: reallocate rgb_planes when needed Fixes invalid writes on pixel format changes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:[email protected]
4c3e1956ee35fdcc5ffdb28782050164b4623c0b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4c3e1956ee35fdcc5ffdb28782050164b4623c0b
2014-02-04 22:00:27+01:00
qt-faststart: Avoid unintentionally sign extending BE_32 Without this cast, the BE_32() expression is sign extended when assigned to an uint64_t, since the uint8_t|uint8_t expression is promoted to an int. Also avoid undefined behaviour when left shifting an uint8_t by 24 by casting it to an uint32_t explicitly before shifting. Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <[email protected]>
ea7f79f93796d68559a495be824b6bbd94dfe5f6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ea7f79f93796d68559a495be824b6bbd94dfe5f6
2014-03-01 00:25:08+02:00
avformat/flac_picture: clear padding area aviod use of uninitialized memory Fixes: asan_heap-oob_1487fa4_4706_cov_364534849_cover_art.flac Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
13aa82bbbb71c04bdcecf1341be4a23aee271bec
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/13aa82bbbb71c04bdcecf1341be4a23aee271bec
2014-01-31 17:32:32+01:00
avcodec/mpeg12dec: check block index in mpeg2_fast_decode_block_non_intra() Prevents some overreads at the cost of 1 cpu cycle Signed-off-by: Michael Niedermayer <[email protected]>
d82eccea2bf905cd51889954658f4e7f64876df8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d82eccea2bf905cd51889954658f4e7f64876df8
2014-01-24 18:09:16+01:00
mxf: Fix potential leak in mxf_read_local_tags() Signed-off-by: Luca Barbato <[email protected]>
cc1e3ace63075ccd75ef3a2acdeb2e81cd8a429e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cc1e3ace63075ccd75ef3a2acdeb2e81cd8a429e
2014-01-14 18:23:00+01:00
mxf: Fix a possible leak of extradata Signed-off-by: Luca Barbato <[email protected]>
0d6605c7ef43f97a88950542af09078adef33b6d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0d6605c7ef43f97a88950542af09078adef33b6d
2014-01-14 18:13:29+01:00
lavf: make av_probe_input_buffer more robust Always use the actually read size as the offset instead of making possibly invalid assumptions. Addresses: CVE-2012-6618
2115a3597457231a6e5c0527fe0ff8550f64b733
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2115a3597457231a6e5c0527fe0ff8550f64b733
2014-01-13 15:00:09+01:00
avformat/flvdec: initialize context before reading from it Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f9b8387069e_5377_flv_with_pcm_s16be_audio_track.flv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
396ddcf22d55fa7e735d69eed22a4a4b1649b73c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/396ddcf22d55fa7e735d69eed22a4a4b1649b73c
2014-01-10 20:59:25+01:00
avformat/wc3movie: Check strings before printing. Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f7812ca062f_2812_SC_32_part.MVE Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
1acd029f40de1a0d3ca292cbbe06ea5a173a84ae
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1acd029f40de1a0d3ca292cbbe06ea5a173a84ae
2013-12-29 14:06:47+01:00
avcodec/pcm-dvd: reset last header on errors Fixes: msan_uninit-mem_7f4fff975a2c_4957_dvd_audio_sample.aob Fixes use of uninitialized memory Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
f55bc96a5449179ee9b0aab6f0a4581ba1df6b62
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f55bc96a5449179ee9b0aab6f0a4581ba1df6b62
2013-12-27 03:00:52+01:00
avcodec/hevc: Check entry point arrays for malloc failure Fixes null pointer dereference Fixes: signal_sigsegv_e1d3b6_2192_DBLK_F_VIXS_2.bit Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
22bfb4be284c12f33b9dac010713fe3ca6d974bf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/22bfb4be284c12f33b9dac010713fe3ca6d974bf
2014-01-13 05:04:13+01:00
avcodec/ivi_common: use av_mallocz() to allocate mbs array Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f1dffa1c016_8245_sasha.avi Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
d164ad3298c155330e303bea907920643b5d74a3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d164ad3298c155330e303bea907920643b5d74a3
2013-12-26 14:53:39+01:00
avformat/isom: free extradata on failure to read it Fixes use of uninitialized memory Fixes: msan_uninit-mem_7f607d80f661_6965_mov00003.mqv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
ac480cb58dbe7859c96a08e9e5cd3dd3b0fb0ae7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ac480cb58dbe7859c96a08e9e5cd3dd3b0fb0ae7
2013-12-25 16:25:17+01:00
avformat/swfdec: clear 4 bytes at the end of a packet if they are not initialized Fixes use of uninitialized memory Fixes part of msan_uninit-mem_7f055dd0ab1b_9558_videopop_guitar_300k.swf Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
f5d039840aca64d0ce79cd08e64423833becf570
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f5d039840aca64d0ce79cd08e64423833becf570
2013-12-19 05:07:22+01:00
dsputil/pngdsp: fix signed/unsigned type in end comparison Fixes out of array accesses and integer overflows.
d1916d13e28b87f4b1b214231149e12e1d536b4b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d1916d13e28b87f4b1b214231149e12e1d536b4b
2013-11-28 15:37:55+01:00
matroskadec: pad EBML_BIN data. It might be passed to code requiring padding, such as lzo decompression. Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:[email protected]
30be1ea33e5525266ad871bed60b1893a53caeaf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/30be1ea33e5525266ad871bed60b1893a53caeaf
2013-11-21 20:54:30+01:00
configure: Move -Wno-maybe-uninitialized check into gcc section As another example of bizarre compiler behavior clang groks the -Wmaybe-uninitialized option, but not -Wno-maybe-uninitialized and spews a warning for every file that gets compiled.
92352a94c1658eb0b246b984a569b310816e759f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/92352a94c1658eb0b246b984a569b310816e759f
2013-11-05 12:22:48+01:00
avformat/segafilm: check 2nd tag Fixes probetest failure Signed-off-by: Michael Niedermayer <[email protected]>
3e6b7bbce510c53b4d7962f29aaf745c9b729775
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3e6b7bbce510c53b4d7962f29aaf745c9b729775
2013-11-06 12:56:42+01:00
avcodec/mpegvideo_enc: check that max_b_frames is not negative Fixes crash found by saste Signed-off-by: Michael Niedermayer <[email protected]>
ce55e667facbaf0e7aa8d543b114b28d22c2a250
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ce55e667facbaf0e7aa8d543b114b28d22c2a250
2013-10-29 16:13:07+01:00
configure: Disable -Wmaybe-uninitialized by default It is by definition unreliable and causes pointless noise on valid code.
de6061203e2d509579ab110fb1873aade34320f5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/de6061203e2d509579ab110fb1873aade34320f5
2013-10-28 00:04:49+01:00
rtmpproto: Validate the embedded flv packet size before copying This wasn't an issue prior to 58404738, when the whole RTMP packet was copied at once and the length of the individual embedded flv packets only were validated by the flv demuxer. Prior to this patch, this could lead to reads and writes out of bound. Signed-off-by: Martin Storsjö <[email protected]>
cd818b3a5709b9b08bd5901cb8863a8b61be265e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cd818b3a5709b9b08bd5901cb8863a8b61be265e
2013-10-04 09:25:10+03:00
avcodec/hevc: do not dereference pointer before null check in verify_md5() Fixes: CID1108607 Signed-off-by: Michael Niedermayer <[email protected]>
f2eca8d06060b9ec265c21ae38b6dd3088c52cc6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f2eca8d06060b9ec265c21ae38b6dd3088c52cc6
2013-10-20 00:35:18+02:00
svq3: Avoid a division by zero If the height is zero, the decompression will probably end up failing due to not fitting into the allocated buffer later anyway, so this doesn't need any more elaborate check. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Martin Storsjö <[email protected]>
601c2015bc16f0b281160292a6a760cbbbb0eacb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/601c2015bc16f0b281160292a6a760cbbbb0eacb
2013-09-19 22:45:16+03:00
electronicarts: Add more sanity checking for the number of channels Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Martin Storsjö <[email protected]>
a9221e39600a31ee13e736e9e47743cde23f0280
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a9221e39600a31ee13e736e9e47743cde23f0280
2013-09-29 19:58:41+03:00
lavf: fix the comparison in an overflow check CC: [email protected] Signed-off-by: Luca Barbato <[email protected]>
26f027fba1c5ab482fa2488fbe0fa36c8bb33b69
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/26f027fba1c5ab482fa2488fbe0fa36c8bb33b69
2013-09-07 11:52:40+02:00
lavc/avfft: init context to 0. Prevent an invalid free in case of init failure.
04dcdc464087eece349f30db42bab903cd077778
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/04dcdc464087eece349f30db42bab903cd077778
2013-09-04 16:37:25+02:00
avfilter/vf_noise: dont corrupt the picture outside width x height Signed-off-by: Michael Niedermayer <[email protected]>
51dab60c7b91a21ec280c7d3042aa8350aae048f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/51dab60c7b91a21ec280c7d3042aa8350aae048f
2013-09-12 17:14:54+02:00
mpegvideo: Avoid 32-bit wrapping of linesize multiplications This makes sure that linesize * start_y doesn't overflow, so that emulated_edge_mc can get back the original value if needed. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Martin Storsjö <[email protected]>
a711a2cb473dc95708f371a82c85c97fe789b5c2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a711a2cb473dc95708f371a82c85c97fe789b5c2
2013-09-04 14:33:29+03:00
avcodec/mjpegdec: Add some sanity checks to ljpeg_decode_rgb_scan() These prevent the rgb ljpeg code from being run on parameters that it doesnt support. No testcase available but it seems possible to trigger these. Signed-off-by: Michael Niedermayer <[email protected]>
61c68000eda643dfce96dc46b488d39fd5c4e309
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/61c68000eda643dfce96dc46b488d39fd5c4e309
2013-09-05 01:39:20+02:00
ffv1enc: check for malloc failure Signed-off-by: Michael Niedermayer <[email protected]>
eeb3fb9e62d4647e1fee5d262be63e793117430d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eeb3fb9e62d4647e1fee5d262be63e793117430d
2013-08-17 01:43:30+02:00
alsdec: Clean up error paths Fix at least a memory leak. CC: [email protected]
ca488ad480360dfafcb5766f7bfbb567a0638979
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ca488ad480360dfafcb5766f7bfbb567a0638979
2013-07-23 23:03:37+02:00
rmdec: Forward error messages from rm_assemble_video_frame() to the caller. Fixes the cause of a null pointer dereference on oom described in ticket #2724.
aecb9d39bc66818dd96956b7248302bf0de6d54d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aecb9d39bc66818dd96956b7248302bf0de6d54d
2013-07-13 17:16:30+02:00
lavf/movenc: check ff_mov_init_hinting() return Fixes a crash when the codec stream is not supported by the rtp muxer. Signed-off-by: Michael Niedermayer <[email protected]>
621ab4e4ef69ce5912430ded8bdd5e6b7d1ca196
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/621ab4e4ef69ce5912430ded8bdd5e6b7d1ca196
2013-07-04 19:51:40+02:00
jpeg2000: Check zero bit-plane validity Prevent integer overflows. Signed-off-by: Luca Barbato <[email protected]>
17e5d614a8647d51b9795cb8bccf97ee33ca2d58
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/17e5d614a8647d51b9795cb8bccf97ee33ca2d58
2013-07-02 20:05:44+02:00
jpeg2000: Use bytestream2 Prevent a number of overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Luca Barbato <[email protected]>
1a3598aae768465a8efc8475b6df5a8261bc62fc
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1a3598aae768465a8efc8475b6df5a8261bc62fc
2013-07-02 20:05:43+02:00
avdevice/x11grab: allocate just one Cursor Fixes resource leak and Ticket2450 Reviewed-by: Carl Eugen Hoyos <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
1ee8fadb811f3b1ef370c7d6c7bf62088f1cc954
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1ee8fadb811f3b1ef370c7d6c7bf62088f1cc954
2013-06-21 12:00:11+02:00
avcodec/vc1dec: Check source picture availability in vc1_mc_4mv_chroma4() Fixes null pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
6c4516d0413ea9b2a9b48fb83d0ba0ef7bc84f92
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6c4516d0413ea9b2a9b48fb83d0ba0ef7bc84f92
2013-06-15 13:11:35+02:00
avconv: check that the output format context exists before accessing it Fixes a segfault in exit_program() if opening an output file fails.
274e134e49b1c92db0f0b8cb2ae7554fb7b9184c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/274e134e49b1c92db0f0b8cb2ae7554fb7b9184c
2013-06-04 17:20:04+02:00
avcodec/ratecontrol: silence "warning: expected_bits may be used uninitialized in this function" Signed-off-by: Michael Niedermayer <[email protected]>
f099cdaba38dfaf1eb666df17c6739da500ddbf8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f099cdaba38dfaf1eb666df17c6739da500ddbf8
2013-05-20 15:49:49+02:00
avfilter/vf_deshake: check rx Fixes crash on SSE2 Fixes Ticket2443 Note, its possible to restructure the code to avoid the 16pixel limitation, and such change is welcome! Signed-off-by: Michael Niedermayer <[email protected]>
9f88db5df1410c6b9f08be77fa119009f63106a6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9f88db5df1410c6b9f08be77fa119009f63106a6
2013-05-18 18:28:59+02:00
libx264: zero x264_picture before use. This prevents use of uninitialized memory by ffmpeg later (i_qpplus1) Signed-off-by: Michael Niedermayer <[email protected]>
5d22ac488b4a424fa8e71f01152b43070f3ef1be
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5d22ac488b4a424fa8e71f01152b43070f3ef1be
2013-05-14 22:44:08+02:00
lavu/mem: fix potential int overflow and crash in av_dynarray_add() Also extend documentation accordingly.
ee9794ed20528c2aa4c53cf67cb218bdce6e0485
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ee9794ed20528c2aa4c53cf67cb218bdce6e0485
2013-05-08 01:39:12+02:00
lavfi: let gcc realign the stack on public graph driving functions The functions which actually drive the filter graph by pushing frames through it need to ensure an aligned stack for SIMD functions. This fixes a crash in YADIF filter when using a mingw build in a MSVC application. Signed-off-by: Martin Storsjö <[email protected]>
20c86571ccc71412781d4a4813e4693e0c42aec6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/20c86571ccc71412781d4a4813e4693e0c42aec6
2013-05-04 23:40:13+03:00
estimate_timings_from_bit_rate: Check timebase and bitrate Fixes integer overflow and assertion failure Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
ea9a6709a9412d55012321260f8234253c873491
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ea9a6709a9412d55012321260f8234253c873491
2013-03-28 01:45:01+01:00
mpegvideo: dont allow last == current this fixes deadlocks Signed-off-by: Michael Niedermayer <[email protected]>
9e73f6d1f9a242ea0b2fdb3bf22890d2a4422be0
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9e73f6d1f9a242ea0b2fdb3bf22890d2a4422be0
2013-03-12 03:23:53+01:00
vf_hqdn3d: fix uninitialized variable use CC:[email protected]
d0a863ac891eae49ceaa4de7f759270bc87e668d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d0a863ac891eae49ceaa4de7f759270bc87e668d
2013-03-11 18:28:35+01:00
lavfi/pad: avoid buffer overflow in buffer_needs_copy() Replace & with short-circuit &&. Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Stefano Sabatini <[email protected]>
969e8d35b5b4c457b33df524ca95cd548a404599
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/969e8d35b5b4c457b33df524ca95cd548a404599
2013-03-10 10:38:42+01:00
atrac3: avoid oversized shifting in decode_bytes() When `off' is 0, `0x537F6103 << 32' in the following expression invokes undefined behavior, the result of which is not necessarily 0. (0x537F6103 >> (off * 8)) | (0x537F6103 << (32 - (off * 8))) Avoid oversized shifting. CC: [email protected] Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Luca Barbato <[email protected]>
eba1ff31304e407db3cefd7532108408f364367b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eba1ff31304e407db3cefd7532108408f364367b
2013-03-15 12:51:10+01:00
sanm: Use the correct height variable in the decoded_size checks Fixes integer overflow and out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
5260edee7e5bd975837696c8c8c1a80eb2fbd7c1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5260edee7e5bd975837696c8c8c1a80eb2fbd7c1
2013-02-12 02:04:24+01:00
mjpegdec: pass nb_components into ljpeg_decode_yuv_scan Fixes null pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b2e57eb5a3cb9d5dfab601077fa0edee91e06ca5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b2e57eb5a3cb9d5dfab601077fa0edee91e06ca5
2013-02-13 14:20:46+01:00
vc1dec: Fix 2 "warning: may be used uninitialized in this function" Initialize pointers to NULL for safety Signed-off-by: Michael Niedermayer <[email protected]>
63c61f0be03624fbd9e352d8393122beb3ddcc1a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/63c61f0be03624fbd9e352d8393122beb3ddcc1a
2013-02-04 14:30:40+01:00
wma: check byte_offset_bits Fixes assertion failure Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
984add64a41c3296a8a82051cc90bff2eb449609
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/984add64a41c3296a8a82051cc90bff2eb449609
2013-01-30 23:12:57+01:00
rtmp: fix multiple broken overflow checks Sanity checks like `data + size >= data_end || data + size < data' are broken, because `data + size < data' assumes pointer overflow, which is undefined behavior in C. Many compilers such as gcc/clang optimize such checks away. Use `size < 0 || size >= data_end - data' instead. Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
902cfe2f74d777a7dc20ac68f2393b9f84b790c1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/902cfe2f74d777a7dc20ac68f2393b9f84b790c1
2013-01-23 05:28:38+01:00
fixup_vorbis_headers: add missing malloc failure check Signed-off-by: Michael Niedermayer <[email protected]>
033f1644b59abd755bb529afa5db394d18d9c30b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/033f1644b59abd755bb529afa5db394d18d9c30b
2013-01-30 20:04:14+01:00
rtpenc: fix overflow checking in avc_mp4_find_startcode() The check `start + res < start' is broken since pointer overflow is undefined behavior in C. Many compilers such as gcc/clang optimize away this check. Use `res > end - start' instead. Also change `res' to unsigned int to avoid signed left-shift overflow. Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Martin Storsjö <[email protected]>
cf29f49d8ae00bb153c24b5c8a8f6cb150a91de8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/cf29f49d8ae00bb153c24b5c8a8f6cb150a91de8
2013-01-23 13:51:29+02:00
avf_showwaves: fix null pointer dereference Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <[email protected]>
e4eebc2da9da886e1bdf87d29e9a4c5b55111036
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e4eebc2da9da886e1bdf87d29e9a4c5b55111036
2013-01-21 23:00:20+01:00
sws: check that dither array is not null before memset Fixes null pointer dereference Signed-off-by: Michael Niedermayer <[email protected]>
89afa635bf101e881ef7f70659f555806fdeae28
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/89afa635bf101e881ef7f70659f555806fdeae28
2013-01-19 23:38:17+01:00
avcodec_decode_audio: do not trust the channel layout, use the channel count. Fixes memory corruption Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
d270c3202539e8364c46410e15f7570800e33343
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d270c3202539e8364c46410e15f7570800e33343
2013-01-18 01:29:38+01:00
h264: add 3 pixels below for subpixel filter wait position If the motion vector is at a subpixel position, we need 3 pixels below the motion vector's wholepel position available, not 2, since the MC filter is a sixtap filter for the hpel position, and then a bilin filter for the qpel position. This patch fixes highly irreproducible (0.1%) fate failures in frame 2 and 4 of h264-conformance-cama2_vtc_b (e.g. first P-frame, first field, last line of MB x=40,y=2 and second field and last lines of MBs x=39-40, y=3). These used pre-loopfilter instead of post-loopfilter data because the await_progress() waited for one line too little in that field, and the motion vector of these particular MBs happened to align exactly to a position where that demonstrates the bug. CC: [email protected] Signed-off-by: Luca Barbato <[email protected]>
fb845ffdd335a1efd6dfd43e8adeb530397b348e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fb845ffdd335a1efd6dfd43e8adeb530397b348e
2013-01-15 22:00:34+01:00
oggdec: free the ogg streams on read_header failure Plug an annoying memory leak on broken files.
89b51b570daa80e6e3790fcd449fe61fc5574e07
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/89b51b570daa80e6e3790fcd449fe61fc5574e07
2013-01-06 17:59:54+01:00
swscale: fix NULL checking in sws_alloc_context() sws_getCachedContext() and sws_getContext() expect sws_alloc_context() to return NULL when out of memory, as follows. if (!(context = sws_alloc_context())) return NULL; This patch fixes sws_alloc_context() to return NULL in that case. Signed-off-by: Xi Wang <[email protected]> Signed-off-by: Derek Buitenhuis <[email protected]>
f73f76fd202b310e8e1d0215b2e0cf038cd18c4a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f73f76fd202b310e8e1d0215b2e0cf038cd18c4a
2013-01-04 20:44:00-05:00
lavc/dvdsubenc: improve color distance function. Consider the color space as an hypercone with apex alpha=0 and base alpha=1 instead of an hypercube. Make the encoder consider very transparent colors more similar even if the hue is very different. This corresponds roughly to using the alpha as a weight for the color difference. Only 4 bits of alpha are used, because this is what dvdsub uses, and it avoids overflows. Fix trac ticket #2005.
5ed5e90f2ae299cbec66996860d794771a85fee8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5ed5e90f2ae299cbec66996860d794771a85fee8
2013-01-01 20:07:37+01:00
dfa: improve boundary checks in decode_dds1() Fixes CVE-2012-2798 CC:[email protected]
d05f72c75445969cd7bdb1d860635c9880c67fb6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d05f72c75445969cd7bdb1d860635c9880c67fb6
2012-09-29 19:17:07+02:00
avpicture: Don't assume a valid pix fmt in avpicture_get_size When called from the v4l2 input device, pix_fmt can be AV_PIX_FMT_NONE (for jpeg formats). Before 50ba57e0, this wasn't an issue for avpicture_get_size, but after that commit, this lead to crashes. Signed-off-by: Martin Storsjö <[email protected]>
2c9639227766fea9a8109f82378b312a8d32a1ee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2c9639227766fea9a8109f82378b312a8d32a1ee
2012-12-07 14:28:47+02:00
mpegvideo: allocate scratch buffers after linesize is known Since we can't know which stride a custom get_buffer() implementation is going to use we have to allocate this scratch buffers after the linesize is known. It was pretty safe for 8 bit per pixel pixel formats since we always allocated memory for up to 16 bits per pixel. It broke hoever with cmdutis.c's alloc_buffer() and high pixel bit depth since it allocated larger edges than mpegvideo expected. Fixes fuzzed sample nasa-8s2.ts_s244342.
f1d8763a02b5fce9a7d9789e049d74a45b15e1e8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f1d8763a02b5fce9a7d9789e049d74a45b15e1e8
2012-12-18 19:48:30+01:00
lavfi/subtitles: 10l close codec before format. Fix invalid memory accesses.
ab5497df1556a2099038cdf7bde5e40608c6796e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ab5497df1556a2099038cdf7bde5e40608c6796e
2012-12-04 23:56:02+01:00
mxfdec: check index_tables before dereferencing in close. Fixes null pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
873049e6d854a69292934eb882731dd2ad7438b9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/873049e6d854a69292934eb882731dd2ad7438b9
2012-12-01 20:19:09+01:00
aacdec: fix signed overflows in lcg_random() Signed-off-by: Mans Rullgard <[email protected]>
edd80ec7e32b097043432fa67281ed8c6d044331
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/edd80ec7e32b097043432fa67281ed8c6d044331
2012-11-26 13:34:58+00:00
flashsv: make sure data for zlib priming is available Fixes a segfault in the fuzzed sample resolutionchange.flv_s314809. CC: [email protected]
3ae69b91668e3d9b65af4007eb5871397cf0b0ab
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3ae69b91668e3d9b65af4007eb5871397cf0b0ab
2012-11-29 14:15:05+01:00
4xmdec: fix integer overflow, null ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
aed128f07d142a7afc51f1f0c572a31b3b9bc2a6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aed128f07d142a7afc51f1f0c572a31b3b9bc2a6
2012-11-20 03:00:22+01:00
zmbv: avoid use of uninitialized data Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
e31b1938acbe8bd9c5e1dc4be674601ec6823bcf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e31b1938acbe8bd9c5e1dc4be674601ec6823bcf
2012-11-15 20:58:36+01:00
vc1dec: prevent null ptr dereferences. The added checks are in line with existing checks but should probably be replaced by more advanced error concealment at some point. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
3a04c18d899d278eea551c216e5117974063062b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3a04c18d899d278eea551c216e5117974063062b
2012-11-12 01:43:12+01:00
pcmdec: check that channels is valid. Prevents a division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b8551f8ea71b7d6ae39de121213860262d911001
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b8551f8ea71b7d6ae39de121213860262d911001
2012-11-09 21:06:01+01:00
flacenc: use uint64_t for bit counts Needed to avoid integer overflows for 24-bit encoding.
5ff998a233d759d0de83ea6f95c383d03d25d88e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5ff998a233d759d0de83ea6f95c383d03d25d88e
2012-11-05 15:32:30-05:00
indeo4: prevent printing uninitialized variable Fixes CID703822 Signed-off-by: Michael Niedermayer <[email protected]>
23b203014f5dbd85b75a6b97597be9c877cd3a1b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/23b203014f5dbd85b75a6b97597be9c877cd3a1b
2012-10-18 20:41:51+02:00
examples/muxing: check on frame Fix crash in case frame is not defined (e.g. with muxing out.wav).
eda0a52bf161f9cbebbe348b7c20d4286555c4ab
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eda0a52bf161f9cbebbe348b7c20d4286555c4ab
2012-10-17 21:39:13+02:00
configure: do not quote arguments passed to filter{,_out} in check_ld. This fixes the following error: ./configure: eval: line 417: syntax error near unexpected token `-lcdio_cdda' [...] Broken by 66a1ccd74 when doing, e.g., ./configure --enable-gpl --enable-libcdio. Signed-off-by: Michael Niedermayer <[email protected]>
916352f282855e3e4e86a39df9452fead2aa0771
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/916352f282855e3e4e86a39df9452fead2aa0771
2012-10-17 23:28:50+02:00
nut: fix int32 overflow Fixes CID700574 Signed-off-by: Michael Niedermayer <[email protected]>
de6c150444159a26fe2555089d384ddd2d6459aa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/de6c150444159a26fe2555089d384ddd2d6459aa
2012-10-16 19:59:01+02:00
flvdec: check return value of create_stream() Fixes null pointer dereference. Fixes CID732242. Signed-off-by: Paul B Mahol <[email protected]>
d7d5b5dfc1b6f29646d2c1908c9bac8677f34256
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d7d5b5dfc1b6f29646d2c1908c9bac8677f34256
2012-10-15 15:59:53+00:00
lavc: Fix use of uninitialized field. Fixes CID732297 Signed-off-by: Michael Niedermayer <[email protected]>
e0909ff1584dc90499409707c5f91bf6ce78b09e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e0909ff1584dc90499409707c5f91bf6ce78b09e
2012-10-12 00:22:15+02:00
vc1dec: prevent memory leak on av_realloc error
714f5ab59780de9da546a24335a6976dac18fbe3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/714f5ab59780de9da546a24335a6976dac18fbe3
2012-10-09 16:07:12+02:00
rtspdec:read_line: fix use of uninitialized byte Fixes CID732301 Fixes CID723300 Signed-off-by: Michael Niedermayer <[email protected]>
0c6b9b9fe5edb7b4307e1705bac7f1087262a6fb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0c6b9b9fe5edb7b4307e1705bac7f1087262a6fb
2012-10-12 00:08:28+02:00
bmpdec: only initialize palette for pal8. Gray8 is not considered to be paletted, so this would cause an invalid write. Fixes bug 367. CC: [email protected]
8b78c2969a5b7dca939d93bf525aa2bcd737b5d9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8b78c2969a5b7dca939d93bf525aa2bcd737b5d9
2012-09-16 09:43:17+02:00
proresenc: Write the full value in one put_bits call Previously, the put_bits call writing the value wrote a value larger than the number of bits specified, failing asserts in debug mode. There was no actual bitstream writer corruption, since the overwritten bit already always was set to 1. Signed-off-by: Martin Storsjö <[email protected]>
6d9e74cd4179f42a8fa860f2e08d370c7c36325f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6d9e74cd4179f42a8fa860f2e08d370c7c36325f
2012-09-04 15:31:47+03:00
adpcm_swf: Use correct sample offsets when using trellis. Fixes invalid reads when encoding mono streams when trellis is used.
5d4ef004bfe85a006501d21373cce86c9bf32401
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5d4ef004bfe85a006501d21373cce86c9bf32401
2012-08-22 12:43:51-04:00
lavf/movenc: fix invalid free with timecode meta and tmcd data copy. Fixes ticket 1577.
bc426827492f6c741608af37e2eaab6c8072815d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bc426827492f6c741608af37e2eaab6c8072815d
2012-08-03 14:15:39+02:00