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/pictordec: Check plane value before doing value/mask computations Fixes integer overflow Fixes: 675/clusterfuzz-testcase-6722971232108544 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
63e400a8807dca7b0ffa3841df2e31f7419abb8d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/63e400a8807dca7b0ffa3841df2e31f7419abb8d
2017-02-28 01:13:52+01:00
avcodec/flacdsp: Fix: runtime error: signed integer overflow: -1027555328 + -1226681270 cannot be represented in type 'int' Fixes: 673/clusterfuzz-testcase-5948736536576000 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
7e9ba78f6bd10edae77d1126ada109709e981e9f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7e9ba78f6bd10edae77d1126ada109709e981e9f
2017-02-26 17:16:22+01:00
avcodec/mpeg12dec: Fix runtime error: left shift of negative value -2 671/clusterfuzz-testcase-4990381827555328 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
aff8cf18cb0b1fa4f2e3d163c3da2f25aa6d1906
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aff8cf18cb0b1fa4f2e3d163c3da2f25aa6d1906
2017-02-26 17:16:22+01:00
avcodec/mjpegdec: Fix runtime error: left shift of negative value -507 Fixes: 611/clusterfuzz-testcase-5613455820193792 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
c91bdd4524815125e1f7d8dee22ee7a73173c39a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c91bdd4524815125e1f7d8dee22ee7a73173c39a
2017-02-19 21:49:03+01:00
speedhq: fix out-of-bounds write Certain alpha run lengths (for SHQ1/SHQ3/SHQ5) could be stored in both long and short versions, and we would only accept the short version, returning -1 (invalid code) for the others. This could cause an out-of-bounds write on malicious input, as discovered by Andreas Cadhalpun during fuzzing. Fix by simply allowing both versions, leaving no invalid codes in the alpha VLC. Signed-off-by: Andreas Cadhalpun <[email protected]>
08b098169be079c4f124a351fda6764fbcd10e79
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/08b098169be079c4f124a351fda6764fbcd10e79
2017-02-02 01:12:07+01:00
avcodec/dca_lbr: Fix off by 1 error in freq check Fixes out of array read Fixes: 510/clusterfuzz-testcase-5737865715646464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
61f70416f8542cc86c84ae6e0342ba10a35d7cba
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/61f70416f8542cc86c84ae6e0342ba10a35d7cba
2017-02-02 15:48:50+01:00
cmdutils_opencl: fix resource_leak cid 1396852 CID: 1396852 check the devices_list alloc status, and release the devices_list when alloc devices error Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Steven Liu <[email protected]>
aa7982577c1dee021b72f4256f48d3c030d44e73
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aa7982577c1dee021b72f4256f48d3c030d44e73
2017-01-13 07:54:49+08:00
wmavoice: protect against zero-energy in adaptive gain control. Otherwise the scale factor becomes NaN, resulting in corrupt output. Fixes #5426.
33d7f822f8ed2d1870babc1d04d4d48cf8b6f240
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/33d7f822f8ed2d1870babc1d04d4d48cf8b6f240
2016-12-27 10:02:34-05:00
avcodec/error_resilience: Optimize motion recovery code by using blcok lists This makes the code 7 times faster with the testcase from libfuzzer and should reduce the amount of timeouts we hit in automated fuzzing. (for example 438/fuzz-2-ffmpeg_VIDEO_AV_CODEC_ID_RV40_fuzzer) The code is also faster with more realistic input though the difference is small here as that is far from the worst cases the fuzzers pick out Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
d9d9fd9446eb722fd288f56d905f0dfde661af8f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d9d9fd9446eb722fd288f56d905f0dfde661af8f
2017-01-22 21:39:43+01:00
avcodec/pixlet: check out of bounds pfx value Signed-off-by: Paul B Mahol <[email protected]>
51ed1a7dd40aab921047c620a7a77c6a72863c91
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/51ed1a7dd40aab921047c620a7a77c6a72863c91
2016-12-23 09:41:06+01:00
rmdec: validate block alignment This fixes division by zero crashes. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
de4ded06366e5767d0af277a61d9a56b8c8f9c19
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/de4ded06366e5767d0af277a61d9a56b8c8f9c19
2016-11-23 00:57:10+01:00
avformat/movenc: Check frame rate before use. Fixes division by 0 This is similar to how avg_frame_rate is checked elsewhere Fixes: 6d24add0455f41b1b45b7ba615cd46f3/asan_generic_dc34c3_5480_0a2ef411cae999b9871ed71a2e481b71.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
709c87109dc856abff9c905dfda3ca954453828a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/709c87109dc856abff9c905dfda3ca954453828a
2016-11-17 19:03:41+01:00
mov: validate sample_rate A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. fate-aac-al07_96 fails if sample_rate == 0 is rejected in ff_mov_read_stsd_entries. Signed-off-by: Andreas Cadhalpun <[email protected]>
fc022e77eed66ccfd7ac1788ba23f790c6769dee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fc022e77eed66ccfd7ac1788ba23f790c6769dee
2016-11-07 00:51:49+01:00
avcodec/snowenc: Clear MMX state after edge drawing and picture encode Fixes undefined behavior from calling libc allocation with unclean FPU state. Signed-off-by: Michael Niedermayer <[email protected]>
2c1d38d1e1c2617f51bbb833bb7fe1298644cd21
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2c1d38d1e1c2617f51bbb833bb7fe1298644cd21
2016-10-22 13:46:58+02:00
rsd: limit number of channels Negative values don't make sense and too large values can cause overflows. For AV_CODEC_ID_ADPCM_THP this leads to a too small extradata buffer being allocated, causing out-of-bounds writes. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
ee5f0f1d355fa0fd9194ac97a2c8598c93ed328b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ee5f0f1d355fa0fd9194ac97a2c8598c93ed328b
2016-10-20 19:54:54+02:00
checkasm: aarch64: Don't clobber x29 in checkasm_stack_clobber x29 (FP) is a callee saved register and should be restored on return. Instead of backing up x29 and restoring it here, back up sp in a register that we are allowed to overwrite. This fixes crashes in checkasm on aarch64 since f1b3e1313851. For some reason, gcc builds didn't crash, but clang builds do. Signed-off-by: Martin Storsjö <[email protected]>
dd5d4a0e1e3a30a254d1a57ecbdcedf230c6014b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dd5d4a0e1e3a30a254d1a57ecbdcedf230c6014b
2016-10-18 16:17:12+03:00
ffmpeg_cleanup: fix crash with unrecognized codec since: 3e5e5bd Merge commit '398f015f077c6a2406deffd9e37ff34b9c7bb3bc' Signed-off-by: James Zern <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
7f7c494a3340f71046dde62aa1939128600854a4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7f7c494a3340f71046dde62aa1939128600854a4
2016-10-14 17:02:33+02:00
ffmpeg: use new decode API This is a bit messy, mainly due to timestamp handling. decode_video() relied on the fact that it could set dts on a flush/drain packet. This is not possible with the old API, and won't be. (I think doing this was very questionable with the old API. Flush packets should not contain any information; they just cause a FIFO to be emptied.) This is replaced with checking the best_effort_timestamp for AV_NOPTS_VALUE, and using the suggested DTS in the drain case. The modified tests (fate-cavs and others) still fails due to dropping the last frame. This happens because the timestamp of the last frame goes backwards (ffprobe -show_frames shows the same thing). I suspect that this "worked" due to the best effort timestamp logic picking the DTS over the decreasing PTS. Since this logic is in libavcodec (where it probably shouldn't be), this can't be easily fixed. The timestamps of the cavs samples are weird anyway, so I chose not to fix it. Another strange thing is the timestamp handling in the video path of process_input_packet (after the decode_video() call). It looks like the code to increase next_dts and next_pts should be run every time a frame is decoded - but it's needed even if output is skipped.
8f6f2322285fc14f8f16377db50355864019a757
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8f6f2322285fc14f8f16377db50355864019a757
2016-10-01 17:22:22+02:00
rtsp: Fix a crash with the RTSP muxer This was introduced in bc2a32969e. The whole block that the statement was added to is only relevant when used as a demuxer, but the other statements there have had other if statements guarding them. Make sure to only run this whole block if being used as a demuxer. CC: [email protected] Signed-off-by: Martin Storsjö <[email protected]>
df3795025337479a639cb3cd26c93a4e82ccd4db
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/df3795025337479a639cb3cd26c93a4e82ccd4db
2016-09-15 16:07:45+03:00
lavc/avpacket: Fix undefined behaviour, do not pass a null pointer to memcpy(). Fixes ticket #5128.
f077ad69c682c13ab75a72aec11a61cac53f0c91
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f077ad69c682c13ab75a72aec11a61cac53f0c91
2016-09-05 10:16:03+02:00
avdevice/dshow: satisfy alloc contract better prevent non-rgb24 crashes on windows 10 anniversary ed Signed-off-by: Roger Pack <[email protected]>
18ce63a60e1bffc35b4df5d8a4f9a1ff1a96cb9a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/18ce63a60e1bffc35b4df5d8a4f9a1ff1a96cb9a
2016-08-20 12:06:50+02:00
ffplay: Fix invalid array index Found-by: Thomas Guilbert <[email protected]> Fixes: clusterfuzz_usan-2016-08-02 Signed-off-by: Michael Niedermayer <[email protected]>
6cd9a8b67a95a136ea15bfe3c3bab6cf5e6d1cc9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6cd9a8b67a95a136ea15bfe3c3bab6cf5e6d1cc9
2016-08-03 16:09:03+02:00
tests/fate: Add test for ticket 3386 ([H264] [Regression] illegal short term buffer state detected) Signed-off-by: Michael Niedermayer <[email protected]>
07f5e75a47bfa20204bc75d6090aae74046f2dde
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/07f5e75a47bfa20204bc75d6090aae74046f2dde
2016-07-02 21:37:48+02:00
avcodec/libxvid: Fix use of uninitialized AVPacket fields Fixes CID1361964 Signed-off-by: Michael Niedermayer <[email protected]>
0b9b3163f2a9be54b986f1e7e7d55a88d1e2f2a8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0b9b3163f2a9be54b986f1e7e7d55a88d1e2f2a8
2016-05-31 00:24:22+02:00
avfilter/f_loop: Fix leak on error Fixes CID1355117 Signed-off-by: Michael Niedermayer <[email protected]>
645f7c1ce547f247af56990e6306d08d3d6a6286
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/645f7c1ce547f247af56990e6306d08d3d6a6286
2016-05-29 21:21:59+02:00
avformat/udp: redesign threaded udp tx code This fixes partially completed send() Avoids holding the mutex during send() fixes race conditions in error handling removes copied non thread specific blocking code Fixes deadlocks on closure Fixes data loss on closure Signed-off-by: Michael Niedermayer <[email protected]>
9b7a8bddac52bd05dddb28afd4dff92739946d3b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9b7a8bddac52bd05dddb28afd4dff92739946d3b
2016-05-25 01:39:23+02:00
avformat/avio: fix memory leak in url_find_protocol Signed-off-by: Michael Niedermayer <[email protected]>
7bacf7453665b63ab9e2c496f82e49d9340679ba
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7bacf7453665b63ab9e2c496f82e49d9340679ba
2016-05-18 00:51:52+02:00
avcodec/iff: rewrite out of bounds checking in writer Signed-off-by: Paul B Mahol <[email protected]>
5350e0fc97a50de7cb387d1d5f07fe25c9c4a935
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5350e0fc97a50de7cb387d1d5f07fe25c9c4a935
2016-05-15 16:35:47+02:00
avcodec/dca_lbr: Fix "warning: missing braces around initializer" Signed-off-by: Michael Niedermayer <[email protected]>
bf29794022db597f526a8575648244a7c6ee15ed
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bf29794022db597f526a8575648244a7c6ee15ed
2016-05-11 21:03:07+02:00
avcodec/utils: fix minor memory leaks on avcodec_open2() failure
27adf9f9cdbc6f1dc0a1292dc97490eec6f2f068
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/27adf9f9cdbc6f1dc0a1292dc97490eec6f2f068
2016-04-22 19:29:48+02:00
avcodec/avpacket: Fix off by 5 error Fixes out of array read Fixes: mozilla bug 1266129 Found-by: Tyson Smith Tested-by: Tyson Smith Signed-off-by: Michael Niedermayer <[email protected]>
9f36ea57ae6eefb42432220feab0350494f4144c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9f36ea57ae6eefb42432220feab0350494f4144c
2016-04-21 00:52:40+02:00
avformat/rtpenc: Fix integer overflow in NTP_TO_RTP_FORMAT RTCP synchronization packet was broken since commit in ffmpeg version > 2.8.3 (commit: e04b039b1528f4c7df5c2b93865651bfea168a19) Since this commit (2e814d0329aded98c811d0502839618f08642685) "rtpenc: Simplify code by introducing a macro for rescaling NTP timestamps", NTP_TO_RTP_FORMAT uses av_rescale_rnd() function to add the data to the packet. This causes an overflow in the av_rescale_rnd() function and it will return INT64_MIN. Causing the NTP stamp in the RTCP packet to have an invalid value. Github: Closes #182 Reverting commit '2e814d0329aded98c811d0502839618f08642685' solves the problem.
1109ed7973c7fd1e7001898adc4976590d862122
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1109ed7973c7fd1e7001898adc4976590d862122
2016-03-06 21:19:18+01:00
configure: Fix debugging on mingw-w64 with gdb The relocation hack broke debugging on mingw-w64 when using gdb. This makes the reloc hack dependent on --disable-debug so it's still enabled for release builds. This is simply an immediate fix for the issue of broken debugging, we should probably still look at the possibility of reverting it outright if it proves to be more trouble than it's worth. For now keeping it enabled for release builds is a reasonable trade off. Signed-off-by: Alex Smith <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
a677121cc568db7c101ebf3a797a779a983fc668
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a677121cc568db7c101ebf3a797a779a983fc668
2016-03-31 14:34:17+02:00
vc2enc: clip and warn when user bitrate set too low The encoder crashed on verly low bitrates since there wasn't enough space allocated. Signed-off-by: Rostislav Pehlivanov <[email protected]>
6e5c6d61bddab12b1d9002ac422cbd2506a30177
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6e5c6d61bddab12b1d9002ac422cbd2506a30177
2016-02-28 19:06:29+00:00
doc/filters: add geq diagonal split screen example Also remove similar but confusing and less useful example. Based on geq expression by Patrick Race <raceink at gmail>. Signed-off-by: Lou Logan <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
0b0121d7f2093367798216a37506dbd053073a60
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0b0121d7f2093367798216a37506dbd053073a60
2016-02-12 09:58:11-09:00
cfhd: fix off-by-one error in level check This fixes out-of-bounds writes causing segmentation faults. Found-by: Piotr Bandurski <[email protected]> Reviewed-by: Kieran Kunhya <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
916da13d6dac8b0d3e8f7b1cb87fa37801cee3f8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/916da13d6dac8b0d3e8f7b1cb87fa37801cee3f8
2016-02-03 01:19:45+01:00
avformat/nutenc: implement deinit() Should prevent some leaks if header writing fails Signed-off-by: Michael Niedermayer <[email protected]>
56c182c4d716b8b72156ff57a0c8d72087db8549
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/56c182c4d716b8b72156ff57a0c8d72087db8549
2016-01-21 13:16:24+01:00
dca: fix misaligned access in avpriv_dca_convert_bitstream src and dst are only 8-bit-aligned, so accessing them as uint16_t causes SIGBUS crashes on architectures like sparc. This fixes ubsan runtime error: load of misaligned address for type 'const uint16_t', which requires 2 byte alignment Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
44ac13eed49593f4f8efdb72ab0d5b48e05aa305
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/44ac13eed49593f4f8efdb72ab0d5b48e05aa305
2016-01-14 01:23:54+01:00
avcodec/mss2: Check for repeat overflow Fixes: mss2_left_shift.wmv Found-by: Piotr Bandurski <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
e273dade78943e22b71d0ddb67cd0d737fc26edf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e273dade78943e22b71d0ddb67cd0d737fc26edf
2016-01-10 12:49:35+01:00
avpacket: fix size check in packet_alloc The previous check only caught sizes from -AV_INPUT_BUFFER_PADDING_SIZE to -1. This fixes ubsan runtime error: signed integer overflow: 2147483647 + 32 cannot be represented in type 'int' Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
da3c3c446cb434be9d0025f519e00c2385135c85
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/da3c3c446cb434be9d0025f519e00c2385135c85
2016-01-05 22:30:50+01:00
mlvdec: validate bits_per_coded_sample A negative bits_per_coded_sample doesn't make sense. If it is too large, the size calculation for av_get_packet overflows, resulting in allocation of a too small buffer. Also make sure width and height are sane. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
7172175da6f8dfe6939e5366190a8066b78d71df
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7172175da6f8dfe6939e5366190a8066b78d71df
2015-12-22 19:39:43+01:00
avcodec/diracdec: Check ff_set_dimensions() for failure Signed-off-by: Michael Niedermayer <[email protected]>
73840bbe4eea1e99807bc6bcc4cbe5188025ff1d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/73840bbe4eea1e99807bc6bcc4cbe5188025ff1d
2015-12-17 19:00:33+01:00
lavf/tee: fix side data double free. Similar to 33fefdb44. Fix trac ticket #4921. Signed-off-by: Nicolas George <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
1acc90eaa54ad82a21474ed759b8ed3a0f3d482d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1acc90eaa54ad82a21474ed759b8ed3a0f3d482d
2015-12-13 09:41:41+01:00
ffserver: allocate AVStream's internal too Avoids segfault at init_muxer() (mux.c) due to a null pointer dereference on the recently introduced AVStream->internal Fixes: #5059 (https://trac.ffmpeg.org/ticket/5059) Signed-off-by: Reynaldo H. Verdejo Pinochet <[email protected]>
5a31f2318b8fed1f4711cb86eab6d9b679946878
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5a31f2318b8fed1f4711cb86eab6d9b679946878
2015-12-15 10:04:49-08:00
texturedsp: Explicitly cast RGBA parameters to unsigned Silences warnings when using -Wshift-overflow (GCC 6+). Found-by: James Almer <[email protected]>
fdd5c48ebdec489ec9e84eee547fefa50c3ad53c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fdd5c48ebdec489ec9e84eee547fefa50c3ad53c
2015-11-24 09:24:48-05:00
dds: disable palette flag for compressed images Having both is not valid and can cause a NULL pointer dereference of frame->data[1] later. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Vittorio Giovara <[email protected]>
0a8bff788b0a9f96b863f0e836a235cb1d223f55
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0a8bff788b0a9f96b863f0e836a235cb1d223f55
2015-11-14 03:40:20+01:00
x86: simple_idct: 12bits versions On 12 frames of a 444p 12 bits DNxHR sequence, _put function: C: 78902 decicycles in idct, 262071 runs, 73 skips avx: 32478 decicycles in idct, 262045 runs, 99 skips Difference between the 2: stddev: 0.39 PSNR:104.47 MAXDIFF: 2 This is unavoidable and due to the scale factors used in the x86 version, which cannot match the C ones. In addition, the trick of adding an initial bias to the input of a pass can overflow, as the input coefficients are already 15bits, which is the maximum this function can handle. Overall, however, the omse on 12 bits samples goes from 0.16916 to 0.16883. Reducing rowshift by 1 improves to 0.0908, but causes overflows. Signed-off-by: Michael Niedermayer <[email protected]>
7ece8b50b19e140ace13eda6f1a9f45f868c2528
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7ece8b50b19e140ace13eda6f1a9f45f868c2528
2015-10-13 15:34:32+02:00
aacenc: increase fuzz on aac-ms-encode test GCC 3.4 miscompiles it on sunos. Date of release? The second of August two thousand and five, anno Domini. That's ten years two months and fourteen days ago. Three thousand seven hundred and twenty seven days ago. One sixth of the average life expectancy of a person living in a country with a human development index of zero point eight hundred and eight, equality adjusted. GCC 4.3 also miscompiles it, though not as bad.
590008e6961906ab0f191924910b9b0a7fd9c750
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/590008e6961906ab0f191924910b9b0a7fd9c750
2015-10-17 06:55:19+01:00
d3d11va: check for malloc failure
f3202871598f59b570b31b01cfeb64b8fedbd700
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f3202871598f59b570b31b01cfeb64b8fedbd700
2015-10-03 14:08:13+02:00
lavf/img2dec: Fix memory leak Fixes #4886 Signed-off-by: Michael Niedermayer <[email protected]>
01dd7e025c246d9001f1a30f4a5d8fa2936d1a5e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/01dd7e025c246d9001f1a30f4a5d8fa2936d1a5e
2015-09-29 19:21:13+02:00
dnxhddec: check and report bitstream errors This only occur when an overrun in coefficient decoding is detected. Signed-off-by: Michael Niedermayer <[email protected]>
b8b8e82ea14016b2cb04b49ecea57f836e6ee7f8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b8b8e82ea14016b2cb04b49ecea57f836e6ee7f8
2015-09-27 21:57:58+02:00
avcodec/tta: Check init_get_bits8() for failure Fixes: CID1322319 Signed-off-by: Michael Niedermayer <[email protected]>
f1593e4ca564cdb7f3194a9eee1dea16df41142d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f1593e4ca564cdb7f3194a9eee1dea16df41142d
2015-09-04 01:28:25+02:00
swresample/swresample: Fix integer overflow in seed calculation Fixes CID1322333 Signed-off-by: Michael Niedermayer <[email protected]>
32f53958b8f6ed4c3c2a7447c1e47d012796fae2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/32f53958b8f6ed4c3c2a7447c1e47d012796fae2
2015-09-03 09:32:43+02:00
avcodec/dpxenc: implement write16/32 as functions Fixes undefined behavior and segfault Signed-off-by: Michael Niedermayer <[email protected]>
8edc17b639c4ac47913c467107ffb43c67c64890
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8edc17b639c4ac47913c467107ffb43c67c64890
2015-06-19 16:51:54+02:00
avutil/frame: fix crash with av_frame_unref(NULL) Fixes: af94b3a3d26586c08f557cafe8246251_signal_sigsegv_7ffff713351a_343_XFMode.ASF with 2097152 alloc limit Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
feb6a94f740bccc8e369f8b74714b940490f3901
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/feb6a94f740bccc8e369f8b74714b940490f3901
2015-07-13 19:26:44+02:00
avcodec/g2meet: Check R/G/B values in epic_decode_pixel_pred() Fixes: asan_double-free_d34593_861_smp3.wmv Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
b1e242bc565665420661e016127fe07b4b615ecb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b1e242bc565665420661e016127fe07b4b615ecb
2015-07-10 18:11:28+02:00
avformat/nutdec: Check ff_gen_search() for failure Fixes assertion failure Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <[email protected]>
60ec3007e69ce8c5ae540c81b0bd21c1ebe1543a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/60ec3007e69ce8c5ae540c81b0bd21c1ebe1543a
2015-07-01 14:28:41+02:00
avcodec/jpeg2000: Move L band scaling from the 9/7f wavelet to quantization stage This reduces the number of operations Its not done for 9/7i as that would overflow thanks to JPEG2000 allowing 32 decomposition levels Signed-off-by: Michael Niedermayer <[email protected]>
4e926fb969acbb27415c2109d7339259875b6909
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4e926fb969acbb27415c2109d7339259875b6909
2015-06-22 03:01:24+02:00
vp8: change mv_{min,max}.{x,y} type to int If one of the dimensions is larger than 8176, s->mb_width or s->mb_height is larger than 511, leading to an int16_t overflow of s->mv_max.{x,y}. This then causes av_clip to be called with amin > amax. Changing the type to int avoids the overflow and has no negative effect, because s->mv_max is only used in clamp_mv for clipping. Since mv_max.{x,y} is positive and mv_min.{x,y} negative, av_clip can't increase the absolute value. The input to av_clip is an int16_t, and thus the output fits into int16_t as well. For additional safety, s->mv_{min,max}.{x,y} are clipped to int16_t range before use. Reviewed-by: Ronald S. Bultje <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
6fdbaa2b7fb56623ab2163f861952bc1408c39b3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6fdbaa2b7fb56623ab2163f861952bc1408c39b3
2015-06-08 23:29:14+02:00
lavf/tls: let the user specify what name to verify against This can be useful for debugging, or in scenarios where the user doesn't want to use the system's DNS settings for whatever reason. Signed-off-by: Michael Niedermayer <[email protected]>
6dd5371e34c6602591766f73aa647b369d77853b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6dd5371e34c6602591766f73aa647b369d77853b
2015-06-08 14:08:52+02:00
avcodec/opusdec: Fix delayed sample value Fixes out of array access Fixes: ffmpeg_opus_crash1.ogg This solution is likely not optimal in terms of error concealment but its simple and fixes the out of array access. Found-by: Thomas Lindroth <[email protected]> Tested-by: Thomas Lindroth <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
6c583e9048fe9db2ed4d7bbc75f4f1d76e82761a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6c583e9048fe9db2ed4d7bbc75f4f1d76e82761a
2015-03-07 21:39:23+01:00
avfilter/vf_cover_rect: Handle the case where the cover rectangle is as large as the input Fixes division by 0 Fixes CID1297575 Signed-off-by: Michael Niedermayer <[email protected]>
0d05406482950b7c129eccfefe0daa3d6d47e292
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0d05406482950b7c129eccfefe0daa3d6d47e292
2015-05-12 20:19:47+02:00
cafdec: check avio_read return value If avio_read fails, the buffer can contain uninitialized values. Reviewed-by: Carl Eugen Hoyos <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
a3ede6b742f37d511253ab4c2fd98c13203f1cd3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a3ede6b742f37d511253ab4c2fd98c13203f1cd3
2015-05-13 20:09:25+02:00
pngdec: don't use AV_PIX_FMT_MONOBLACK for apng AV_PIX_FMT_MONOBLACK has the AV_PIX_FMT_FLAG_BITSTREAM flag, i.e. linesize can be smaller than width. Since x_offset is only check against the width, this can lead to x_offset * bpp >= image_linesize. In this case ptr could be set to a position outside the image_buf in png_handle_row, leading to memory corruption and thus crashes. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
372aa0777aaacf726de7cd7dd0e6797026a124ee
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/372aa0777aaacf726de7cd7dd0e6797026a124ee
2015-05-03 21:50:09+02:00
lavf/webm_chunk: Fix a memory leak. Fix a duplicate memory allocation. priv_data should be allocated in line 64 call to avformat_alloc_output_context2 since we pass the correct AVFormat to it. This removes the duplicate allocation. Signed-off-by: Vignesh Venkatasubramanian <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
ccb8f674995ded871ac725833b5efefce0ad63de
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ccb8f674995ded871ac725833b5efefce0ad63de
2015-04-30 23:33:10+02:00
nutdec: fix illegal count check in decode_main_header The existing check has two problems: 1) i + count can overflow, so that the check '< 256' returns true. 2) In the (i == 'N') case occurs a j-- so that the loop runs once more. This can trigger the assertion 'nut->header_len[0] == 0' or cause segmentation faults or infinite hangs. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
7c24ca1bda2d4df1dc9b2b982941be532d60da21
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7c24ca1bda2d4df1dc9b2b982941be532d60da21
2015-04-28 22:56:14+02:00
h264_ps: Return meaningful error codes and address a memory leak Bug-Id: CID 1026763
86e1a35802df42f51337d3fed8d5d99d0898c8bf
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/86e1a35802df42f51337d3fed8d5d99d0898c8bf
2015-04-20 14:59:40+01:00
alsdec: ensure channel reordering is reversible If the same idx is used for more than one i, at least one entry in sconf->chan_pos remains uninitialized. This can cause segmentation faults. Signed-off-by: Andreas Cadhalpun <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
ef16501aebed43e34a3721336e8bee732eca2877
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ef16501aebed43e34a3721336e8bee732eca2877
2015-04-18 19:26:17+02:00
avformat/dv: fix used dimension variables Fixes null pointer dereference during seeking Fixes Ticket4395 Signed-off-by: Michael Niedermayer <[email protected]>
2139e584391b6db7ad315cf4f6443f87f7813d51
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2139e584391b6db7ad315cf4f6443f87f7813d51
2015-03-26 03:10:27+01:00
tiff: Check that there is no aliasing in pixel format selection Fixes possible issues with unexpected bpp/bppcount values. CC: [email protected] Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Bug-Id: CVE-2014-8544 Signed-off-by: Luca Barbato <[email protected]>
ae5e1f3d663a8c9a532d89e588cbc61f171c9186
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ae5e1f3d663a8c9a532d89e588cbc61f171c9186
2015-03-08 19:14:14+01:00
avcodec/h264: Remove bits_per_raw_sample hacks Fixes assertion failure Fixes: f12c79769501ee471a5c731b8304ffcb/signal_sigabrt_7ffff6ac8cc9_3766_cov_4267830138_undemuxable_h264.ts Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
354db19ff44c3e33ba1a4298d1b3eaefb0ddc7e3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/354db19ff44c3e33ba1a4298d1b3eaefb0ddc7e3
2015-03-25 04:14:38+01:00
mips/acelp_filters: fix incorrect register constraint Change register constraint on the v variable from = to +. This was causing GCC to think that the v variable was never read and therefore not initialize it. This fixes about 20 fate failures on mips64el. Signed-off-by: James Cowgill <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
b9de1303a6414174ab2f3bccefa801bfabcf0f88
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b9de1303a6414174ab2f3bccefa801bfabcf0f88
2015-02-26 16:40:34+01:00
avcodec/a64multienc: initialize mc_meta_charset to zero This fixes the use of uninitialized values in avpriv_do_elbg. Signed-off-by: Michael Niedermayer <[email protected]>
ab759f8f4a3f7178361e32ab719e6bc49d8afecb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ab759f8f4a3f7178361e32ab719e6bc49d8afecb
2015-02-23 01:49:23+01:00
avcodec/a64multienc: use av_frame_ref instead of copying the frame This fixes freeing the frame buffer twice on cleanup leading to a crash. Signed-off-by: Michael Niedermayer <[email protected]>
39e4ed7c1d8d840be47f6d604704d47a59a9ae5d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/39e4ed7c1d8d840be47f6d604704d47a59a9ae5d
2015-02-23 00:46:00+01:00
avcodec/snowdec: Fix avmv_index increment Fixes reading uninitialized memory Signed-off-by: Michael Niedermayer <[email protected]>
6c91afe4973f25f050c8b704b62a8367fc5e7a8c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6c91afe4973f25f050c8b704b62a8367fc5e7a8c
2015-02-20 03:31:14+01:00
avformat/oggdec: Check for av_malloc() failure and forward the error code Fixes CID1257805 Signed-off-by: Michael Niedermayer <[email protected]>
9b8152bf047bbebe4495b993258591687bcdd36d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9b8152bf047bbebe4495b993258591687bcdd36d
2015-02-22 17:53:35+01:00
avcodec/mpegvideo_motion: Fix gmc chroma dimensions Fixes integer overflow and out of array read Fixes: asan_heap-oob_1fb2f9b_3780_cov_3984375136_usf.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
fd52d2d3d1ee41822a9801dffd41c0e1a2db32a8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fd52d2d3d1ee41822a9801dffd41c0e1a2db32a8
2015-02-05 00:33:50+01:00
mpegvideo_enc: initialize the encoding context This prevents several uninitialized variable uses that take place towards the end of encoding. CC: [email protected] Bug-Id: CID 700760
302ca6b20ed01ac584f5b15d5bca3d3a92b7a77a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/302ca6b20ed01ac584f5b15d5bca3d3a92b7a77a
2015-01-29 15:26:33+00:00
hevc: unref the current frame if frame_start() fails Prevents DPB from filling up with damaged input.
443b71928b2f36362e805c037751e6c3c79ea4e8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/443b71928b2f36362e805c037751e6c3c79ea4e8
2015-01-27 08:34:56+01:00
libavcodec/ppc/mpegvideoencdsp.c: fix stack smashing in pix_norm1_altivec() and pix_sum_altivec() The vec_ste calls were mistakenly changed to vec_vsx_st in c5ca76a, which caused stack smashing. Changing them back fixes crashes on ppc64el, when configured with --toolchain=hardened. Signed-off-by: Michael Niedermayer <[email protected]>
840c3c05316a59c70a7470ed27aaa9c2f3ba410a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/840c3c05316a59c70a7470ed27aaa9c2f3ba410a
2015-01-21 03:20:41+01:00
avfilter/drawutils: Check for av_malloc* failures Signed-off-by: Michael Niedermayer <[email protected]>
f77571f6bb5a252e09fc47049b0c61cc11559fad
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f77571f6bb5a252e09fc47049b0c61cc11559fad
2015-01-22 13:54:26+01:00
avfilter/vf_spp: fix overflows with depth > 8 Signed-off-by: Michael Niedermayer <[email protected]>
1ac5abb1d062b6ca983d494068bb9fd30390a941
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1ac5abb1d062b6ca983d494068bb9fd30390a941
2014-12-20 20:39:13+01:00
avformat/mov: check atom nesting depth Fixes call stack overflow Fixes: case1_call_stack_overflow.mp4 Found-by: Michal Zalewski <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
caa7a3914f499f74b3ee346f26d598ebdc0ec210
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/caa7a3914f499f74b3ee346f26d598ebdc0ec210
2014-12-16 23:37:24+01:00
avdevice/decklink_common: fix COM initialization failure check Signed-off-by: Jonathan Baecker <[email protected]> Reviewed-by: Ramiro Polla <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
868cec5874543a56e485b7a17018ce7d9ce89299
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/868cec5874543a56e485b7a17018ce7d9ce89299
2014-12-03 18:47:24+01:00
lavc/utils: free private options on avcodec_open2 fail It protects leaking string/binary/dict options from priv context. Signed-off-by: Lukasz Marek <[email protected]>
1907ff0a67edeb98d9153aac79f35961837ba3f6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1907ff0a67edeb98d9153aac79f35961837ba3f6
2014-11-25 23:09:16+01:00
dvdsubdec: Do not leak on failure path CC: [email protected] Bug-Id: CID 1198262
d466d82faaf6e0e57a3a4be5e38e3902ef251ac3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d466d82faaf6e0e57a3a4be5e38e3902ef251ac3
2014-11-21 12:36:19+00:00
libopusenc: prevent an out-of-bounds read by returning early CC: [email protected] Bug-Id: CID 1244188
8dd0a2c5cf40a8a49faae985adc11750b6429132
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8dd0a2c5cf40a8a49faae985adc11750b6429132
2014-11-13 01:41:25+01:00
lavc/options: fix shallow copy context avcodec_copy_context leaves shallow copy of string/binary/dict options. Double free/accessing freed memory may occur. Signed-off-by: Lukasz Marek <[email protected]>
db2caf0a80d25696a1b0a1308e79a2a128ec36f9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/db2caf0a80d25696a1b0a1308e79a2a128ec36f9
2014-11-09 17:56:08+01:00
lavf/mov.c: Prevent memory leak in case of invalid metadata reads. Reviewed-by: Derek Buitenhuis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
6e6b79e7b8093189fd416670c4e0a7e399705cc1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6e6b79e7b8093189fd416670c4e0a7e399705cc1
2014-10-21 12:36:52+02:00
avfilter/vf_idet: fix rounding of av_dict_set_fxp() fixes the remainder overflowing beyond .999 Signed-off-by: Michael Niedermayer <[email protected]>
5d590d87b30c59dfb853ebde6276d36f8a8bbc58
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5d590d87b30c59dfb853ebde6276d36f8a8bbc58
2014-11-03 17:14:29+01:00
avcodec/asvenc: Fix integer overflow in level Warn if the qscale is too low for the input data and clip levels to minimize artifacts Signed-off-by: Michael Niedermayer <[email protected]>
0bb5ad7a06ebcda9102357f8755d18b63f56aa29
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0bb5ad7a06ebcda9102357f8755d18b63f56aa29
2014-09-23 15:46:52+02:00
oggdec: fix invalid free on error The read_packet callback passes a pointer to a stack-allocated AVPacket. Attempting to free it with av_free() makes no sense. Signed-off-by: Michael Niedermayer <[email protected]>
b173f5c15572cc82f68128599722e689df4ff137
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b173f5c15572cc82f68128599722e689df4ff137
2014-08-30 16:38:14+02:00
avcodec/x86/h264_qpel_10bit: locally define pb_0 somehow old llvm-gcc manages to ignore the alignment from ff_pb_0 causing a crash on freebsd Signed-off-by: Michael Niedermayer <[email protected]>
eab2509f8ccfaa5c8b61440192b8a6f8305b6541
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eab2509f8ccfaa5c8b61440192b8a6f8305b6541
2014-06-24 02:13:43+02:00
huffyuv: Check and propagate function return values Bug-Id: CVE-2013-0868 inspired by a patch from Michael Niedermayer <[email protected]> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Diego Biurrun <[email protected]> CC: [email protected]
d0393d79bc3d61c9f2ff832c0e273b7774ff0269
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d0393d79bc3d61c9f2ff832c0e273b7774ff0269
2014-08-03 15:35:30-07:00
avcodec/mpeg4video_parser: Check for extradata parsing failure Found-by: CSA Signed-off-by: Michael Niedermayer <[email protected]>
37ec7d291eacedfacdce21332f4c719f2be79d12
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/37ec7d291eacedfacdce21332f4c719f2be79d12
2014-07-31 12:56:21+02:00
swscale/x86/input: prevent RGB32_TO_UV_FN from reading into the padding This avoids reading uninitialized bytes and confusing valgrind Signed-off-by: Michael Niedermayer <[email protected]>
a1a76b209b42cdd9f8f16bfce7509883d636b940
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a1a76b209b42cdd9f8f16bfce7509883d636b940
2014-06-22 02:32:30+02:00
mpegts: pass MpegTSContext ptr explicitly AVFormatContext->priv_data is not always a MpegTSContext, it can be RTSPState when decoding a RTP stream. So it is necessary to pass MpegTSContext pointer explicitly. Within libav, the write_section_data function doesn't actually use the MpegTSContext at all, so this doesn't change anything at the moment (no memory was corrupted before), but it reduces the risk of anybody trying to touch the MpegTSContext via AVFormatContext->priv_data in the future. Signed-off-by: Martin Storsjö <[email protected]>
5adcef9c1bf701ba2dd43363ae983ba6d74bdb9a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5adcef9c1bf701ba2dd43363ae983ba6d74bdb9a
2014-07-10 11:24:19+03:00
oggenc: Fix the EOS flag This corrects the bug that caused the checksums to change in 9767d7c092c890ecc5953452e8a951fd902dd67b. It caused the EOS flag to be set incorrectly; the ogg spec does not allow it to be set in the middle of a logical bitstream. Signed-off-by: Andrew Kelley <[email protected]> Signed-off-by: Martin Storsjö <[email protected]>
7dba055bb0d31b2c79d9c3a66abb849a71417d3c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/7dba055bb0d31b2c79d9c3a66abb849a71417d3c
2014-05-28 21:51:38+03:00
lavc: add avcodec_free_context(). Right now, the caller has to manually manage some allocated AVCodecContext fields, like extradata or subtitle_header. This is fragile and prone to leaks, especially if we want to add more such fields in the future. The only reason for this behaviour is so that the AVStream codec context can be reused for decoding. Such reuse is discouraged anyway, so this commit is the first step to deprecating it.
fd056029f45a9f6d213d9fce8165632042511d4f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fd056029f45a9f6d213d9fce8165632042511d4f
2014-05-18 10:17:41+02:00
avcodec/takdec: Always initialize hsize, silence "may be used uninitialized" warning Signed-off-by: Michael Niedermayer <[email protected]>
ce4ae184057886ce51f0c215cf548c189f5d6a79
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ce4ae184057886ce51f0c215cf548c189f5d6a79
2014-05-08 17:33:28+02:00