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
iffdec: Fix integer overflow. Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <[email protected]>
0e1925ddc4bb1499fcfc6a1a3990115f8d30c243
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0e1925ddc4bb1499fcfc6a1a3990115f8d30c243
2012-07-24 05:17:36+02:00
avplay: update input filter pointer when the filtergraph is reset. Fixes an invalid read on size change.
2696789c52cd4a8a2ff554d2329c60001459c21b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2696789c52cd4a8a2ff554d2329c60001459c21b
2012-07-05 13:15:36+02:00
ffmpeg: Add sanity check on frame duplication This prevents long loops and OOM in case of damaged timestamps in some cases Signed-off-by: Michael Niedermayer <[email protected]>
df3a96c497c0db51c917e51e5e4a60986979db91
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/df3a96c497c0db51c917e51e5e4a60986979db91
2012-07-04 04:17:00+02:00
smacker: add sanity check for length in smacker_decode_tree() Signed-off-by: Michael Niedermayer <[email protected]>
b829da363985cb2f80130bba304cc29a632f6446
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b829da363985cb2f80130bba304cc29a632f6446
2012-06-21 19:49:37+02:00
iff_ilbm: fix null ptr deref Fixes Ticket1362 Signed-off-by: Michael Niedermayer <[email protected]>
849d4b041351ef8d77c4231cf417f997e79f9ab7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/849d4b041351ef8d77c4231cf417f997e79f9ab7
2012-05-28 17:24:13+02:00
png: check bit depth for PAL8/Y400A pixel formats. Wrong bit depth can lead to invalid rowsize values, which crashes the decoder further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
d2205d6543881f2e6fa18c8a354bbcf91a1235f7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d2205d6543881f2e6fa18c8a354bbcf91a1235f7
2012-05-04 16:06:47-07:00
smackerdemux: Allocate padding for extradata Fixes slight overread. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
2a59abf1a8859bd63f5760e98ffcb381d407451d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2a59abf1a8859bd63f5760e98ffcb381d407451d
2012-04-22 11:23:58+02:00
aacdec: more verbose overread error message Signed-off-by: Michael Niedermayer <[email protected]>
dbe29db8cb09fb39bd8dc5b25934e92279d0aa8d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dbe29db8cb09fb39bd8dc5b25934e92279d0aa8d
2012-04-18 09:36:41+02:00
indeo5: dont run the wavelet transform over partially decoded bands. This fixes a null pointer dereference. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
a66675268f63dd6794ce946c7edbcb8b49ae0f13
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a66675268f63dd6794ce946c7edbcb8b49ae0f13
2012-04-17 20:02:13+02:00
truemotion2: convert packet header reading to bytestream2. Also use correct buffer sizes in calls to tm2_read_stream(). Together, this prevents overreads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
bd508d435b94584db460c684e30ea7ce180cf50f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bd508d435b94584db460c684e30ea7ce180cf50f
2012-03-28 12:29:26-07:00
huffyuv: pad classic huffman tables so as to avoid bitreader overread. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
8fdd93eaadc6ea2cbbe16d00d378a45e6c740b31
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8fdd93eaadc6ea2cbbe16d00d378a45e6c740b31
2012-03-02 18:49:39+01:00
indeo3: Check motion vectors. Fixes overread of reference frame. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
56ffa3fefb22605ac6507efa046ebddc38301521
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/56ffa3fefb22605ac6507efa046ebddc38301521
2012-03-04 23:06:56+01:00
qpeg: fix overreads. qpeg should probably be changed to use the checked bytestream reader. But for now this fixes it and is significantly less work. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
81d4b3af81b52a79f11705ef02d3f48747047404
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/81d4b3af81b52a79f11705ef02d3f48747047404
2012-03-03 03:50:05+01:00
wavpack: Fix an integer overflow Integer Overflow Checker detected an integer overflow while FATE was running. Signed-off-by: Derek Buitenhuis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
83c418e68ee55c55bf9f1185d5cb648fc91aed0b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/83c418e68ee55c55bf9f1185d5cb648fc91aed0b
2012-03-02 02:40:24+01:00
h264: prevent overreads in intra PCM decoding. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
d1604b3de96575195b219028e2c4f08b2259aa7d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d1604b3de96575195b219028e2c4f08b2259aa7d
2012-02-29 13:17:34-08:00
snow: check reference frame indices. Fixes NULL ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
0af48e29f55a4e5824e6f7157ac94cf8b210aa84
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0af48e29f55a4e5824e6f7157ac94cf8b210aa84
2012-03-02 20:53:00+01:00
lcl: error out if uncompressed input buffer is smaller than framesize. This prevents crashes when trying to read beyond the end of the buffer while decoding frame data. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
be129271eac04f91393bf42a490ec631e1a9abea
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/be129271eac04f91393bf42a490ec631e1a9abea
2012-02-24 07:28:57-08:00
apetag: propagate errors. Fixes crashes if reading the tag value fails. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
6d11057006b30ee6737a77f712cdd6a8f7e6c3df
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6d11057006b30ee6737a77f712cdd6a8f7e6c3df
2012-02-23 15:53:26-08:00
yop: Check return value of avio_seek and avoid modifying state if it fails Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
b69c2e0e6dab87bb90fece1d0de47c28394aa8e6
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b69c2e0e6dab87bb90fece1d0de47c28394aa8e6
2012-02-10 15:27:50-05:00
r210enc: don't write uninitialized data Also fix r210 fate decoding test. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
371946bc27bd1e874e0302699550ab9926249950
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/371946bc27bd1e874e0302699550ab9926249950
2012-01-29 21:00:19+01:00
wmadec: Verify bitstream size makes sense before calling init_get_bits. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
48f1e5212c90b511c90fa0449655abb06a9edda2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/48f1e5212c90b511c90fa0449655abb06a9edda2
2012-01-30 10:54:24-08:00
avcodec_align_dimensions2: set only 4 linesizes, not AV_NUM_DATA_POINTERS. This function is video-only, so there's no point in setting more linesizes. Fixes stack corruption in avplay.
2d9535ad317733c977a89194975f14e0cc04fb7f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2d9535ad317733c977a89194975f14e0cc04fb7f
2012-01-28 19:44:55+01:00
mxfdec: hybrid demuxing/seeking solution This uses the old demuxing code for OP1a and separate demuxing code for OPAtom. Timestamp output is added to the old demuxing code. The seeking code is made to seek to the start of the desired EditUnit only, from which the normal demuxing code takes over (if OP1a). This means we do not use delta entries or slices, only StreamOffsets. OPAtom seeking basically works like before. This also makes D-10 seeking behave the same way as OP1a and OPAtom. In other words, we allow seeking before the start or past the end for D-10 too. Based on several patches by Tomas Härdin <[email protected]> and Reimar Döffinger <[email protected]>. Changed av_calloc to av_mallocz, added overflow checks.
f028d4d1c393a13c66e828d45ba8412c0b4df6da
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f028d4d1c393a13c66e828d45ba8412c0b4df6da
2012-01-22 14:40:53+01:00
mpegpsmux: Fix integer overflow with huge VBV sizes. Signed-off-by: Michael Niedermayer <[email protected]>
887cd591a8ba5a385cfdc84fdd5bb49c278e538c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/887cd591a8ba5a385cfdc84fdd5bb49c278e538c
2012-01-22 06:46:23+01:00
Add and use av_fast_padded_malloc. The same as av_fast_malloc but uses av_mallocz and keeps extra always-0 padding. This does not mean the memory will be 0-initialized after each call, but actually only after each growth of the buffer. However this makes sure that a) all data anywhere in the buffer is always initialized b) the padding is always 0 c) the user does not have to bother with adding the padding themselves Fixes another valgrind warning about use of uninitialized data, this time with fate-vsynth1-jpegls. Signed-off-by: Reimar Döffinger <[email protected]>
3b55429d5692dd782d8b3ce6a19819305157d1b8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3b55429d5692dd782d8b3ce6a19819305157d1b8
2012-01-17 20:16:35+01:00
bethsoftvideo: Use bytestream2 functions to prevent buffer overreads. Signed-off-by: Ronald S. Bultje <[email protected]>
29112db8c0f65886e69cbbd6f4e5c44d2d14d238
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/29112db8c0f65886e69cbbd6f4e5c44d2d14d238
2012-01-10 10:34:16-08:00
swscale: fix crash in fast_bilinear code when compiled with -mred-zone. Additional comments from Måns Rullgard have been integrated by Reinhard Tartler. Signed-off-by: Reinhard Tartler <[email protected]>
b14fa5572c2a3bb1d8cd6327c4687a2eee363bbb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b14fa5572c2a3bb1d8cd6327c4687a2eee363bbb
2012-01-10 18:20:37+01:00
kmvc: Use bytestream2 functions to prevent buffer overreads. Signed-off-by: Ronald S. Bultje <[email protected]>
da2e774fd6841da7cede8c8ef30337449329727c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/da2e774fd6841da7cede8c8ef30337449329727c
2012-01-09 17:26:33-08:00
tta: fix off be 1 error in the end detection. Fixes use of uninitialized values. Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
d8b33a99897f1faa8036fbdb6a6d48af9c10730f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d8b33a99897f1faa8036fbdb6a6d48af9c10730f
2012-01-07 09:59:09-05:00
4xm: Prevent buffer overreads. 4xm decoder while decoding i2 frames can overread the buffer if proper checks are not made. Signed-off-by: Ronald S. Bultje <[email protected]>
295a7c0238e84b0ffa8f21ed938d45f51f54a4cd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/295a7c0238e84b0ffa8f21ed938d45f51f54a4cd
2012-01-04 21:15:50-08:00
h263: disable slow checked reader, overreads are not possible in ffmpegs h263 decoder Signed-off-by: Michael Niedermayer <[email protected]>
8e7776036b11bf54bc8668eda3db1852f92a37fa
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8e7776036b11bf54bc8668eda3db1852f92a37fa
2011-12-18 03:19:40+01:00
adpcm: Check for channels to be a non-zero integer channels would be 0 sometimes and would cause floating point exception Fixes bugzilla #124 Signed-off-by: Justin Ruggles <[email protected]>
e614fac2e6e185a247d722d4e92368b3c3bc4bdb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e614fac2e6e185a247d722d4e92368b3c3bc4bdb
2011-12-17 09:44:19-05:00
applehttp: Avoid reading uninitialized memory Signed-off-by: Martin Storsjö <[email protected]>
c41b9842ceac42bedfd74a7ba2d02add82f818a9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c41b9842ceac42bedfd74a7ba2d02add82f818a9
2011-12-14 21:34:45+02:00
snow: fix integer overflows The way these values are used, they should have an unsigned type. A similar change was made for mpegvideo in cb66847. Signed-off-by: Mans Rullgard <[email protected]>
8540dcfd7af14da4080770dfbfa997cffdd0878b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8540dcfd7af14da4080770dfbfa997cffdd0878b
2011-11-26 22:53:47+00:00
ffplay: Check for pix_fmt changes Fixes Ticket238 by not crashing but also not playing the file. Signed-off-by: Michael Niedermayer <[email protected]> Signed-off-by: Marton Balint <[email protected]>
2c28e26913df927e71d87fa851c9d950f281523b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2c28e26913df927e71d87fa851c9d950f281523b
2011-11-21 20:20:48+01:00
loco: Fix error handling. Fixes null pointer dereference / http://www.google-melange.com/gci/task/view/google/gci2011/7120335 Signed-off-by: Michael Niedermayer <[email protected]>
2bf09826c170b0f474f1cd92a138acd8109eef8b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2bf09826c170b0f474f1cd92a138acd8109eef8b
2011-11-24 15:39:41+01:00
rdt: Check the return value of avformat_open If it failed, return NULL. This avoids trying to use an half-initialized RDTDemuxContext. Signed-off-by: Martin Storsjö <[email protected]>
ed307e2659f2db81a434afece905383fdceb9b6e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ed307e2659f2db81a434afece905383fdceb9b6e
2011-11-07 11:23:57+02:00
mov: Avoid divide by zero in edit list dts handling Signed-off-by: Ronald S. Bultje <[email protected]>
69e7ad8dbc9896aff70f1f1125c726764f28455f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/69e7ad8dbc9896aff70f1f1125c726764f28455f
2011-10-29 07:59:05-07:00
Fix seeking when using Apple HTTP Live Streaming The Apple HTTP Live Streaming demuxer's implementation of seeking searches for the MPEG TS segment which contains the requested timestamp. In its current implementation it assumes that the first segment will start from 0. But, MPEG TS streams do not necessarily start with timestamp (near) 0, causing seeking to fail for those streams. This also occurs when using live streaming of HTTP Live Streams. In this case sliding playlists may be used, which means that in that case only the last x encoded segments are stored, the earlier segments get deleted from disk and removed from the playlist. Because of this, when starting playback of a stream in the middle of such a broadcast, the initial segment fetched after parsing the m3u8 playlist will not start from timestamp (near) 0, causing (the admittedly limited live) seeking to fail. This patch changes this demuxers seeking implementation to use the initial DTS as an offset for searching the segments containing the requested timestamp.
6f20921deec135a68f78cb327472ea6cf28644a5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/6f20921deec135a68f78cb327472ea6cf28644a5
2011-11-15 18:35:03+01:00
fix memleak in packet corrupt dropping code
c108a4aa1e30d9526308dc8d0869c5fe7198eb8e
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c108a4aa1e30d9526308dc8d0869c5fe7198eb8e
2011-10-18 12:00:48+02:00
vp8: fix signed overflows In addition to avoiding undefined behaviour, an unsigned type makes more sense for packing multiple 8-bit values. Signed-off-by: Mans Rullgard <[email protected]>
bb59156606e00057a706ed30165bc7329db3823f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bb59156606e00057a706ed30165bc7329db3823f
2011-10-08 20:03:55+01:00
xan: Check for out of bound reads in xan_huffman_decode() Signed-off-by: Janne Grunau <[email protected]>
3db3fdf4c669aed9379be430c17f151d4d0697c5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3db3fdf4c669aed9379be430c17f151d4d0697c5
2011-10-07 16:25:32+02:00
wmavoice: Check for out of bound writes Signed-off-by: Janne Grunau <[email protected]>
1c1449b548a2a0bf0295a522051b04107286653c
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1c1449b548a2a0bf0295a522051b04107286653c
2011-10-07 16:25:31+02:00
flvdec: Check for overflow before allocating arrays On allocation, the array length is multiplied by sizeof(int64_t), this prevents the multiplication from overflowing. Signed-off-by: Martin Storsjö <[email protected]>
a246cefa75aed2ade315d6d09068aacb6b0fe76b
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a246cefa75aed2ade315d6d09068aacb6b0fe76b
2011-09-25 12:55:21+03:00
segafilm: Check for memory allocation failures in segafilm demuxer. Signed-off-by: Janne Grunau <[email protected]>
1775b92fee43f0527e2f5892a5a30450fa929722
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1775b92fee43f0527e2f5892a5a30450fa929722
2011-10-06 23:19:45+02:00
h264: Check for out of bounds reads in ff_h264_decode_extradata(). Signed-off-by: Michael Niedermayer <[email protected]>
57764c699671b32f0c70795feafc0c6d7491f198
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/57764c699671b32f0c70795feafc0c6d7491f198
2011-09-24 16:54:16+02:00
[filmstrip] Check return value of avio_seek and avoid modifying state if it fails
58540d7bd3561593d48f76db9096ede118a0a6b1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/58540d7bd3561593d48f76db9096ede118a0a6b1
2011-09-14 19:51:07+02:00
[bink] Check return value of avio_seek and avoid modifying state if it fails
598cc84fbf137df57b5e273484083606583ec3e8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/598cc84fbf137df57b5e273484083606583ec3e8
2011-09-14 19:51:07+02:00
h264: correct the check for invalid long term frame index in MMCO decode The current check on MMCO parameters prohibits a "max long term frame index plus 1" of 16 (frame idx of 15) for the "set max long term frame index" MMCO. Fix this off-by-one error to allow the full range of legal values. Signed-off-by: Diego Biurrun <[email protected]>
29a09eae9a827f4dbc9c4517180d8fe2ecef321a
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/29a09eae9a827f4dbc9c4517180d8fe2ecef321a
2011-08-19 14:36:40+02:00
vf_transpose: avoid multiple calls to avfilter_draw_slice() avfilter_draw_slice() is already called in the end_frame() callback, this avoids multiple calls. This is done by adding a null draw_slice() callback. In particular fix crash occurring with -vf transpose=3,hflip, fix trac issue #371.
d9c23a0d5a56488b146eef17a19a9b47643be333
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d9c23a0d5a56488b146eef17a19a9b47643be333
2011-07-29 20:24:44+02:00
opt-test: Add missing braces to silence compiler warnings. libavutil/opt.c:604:1: warning: missing braces around initializer [-Wmissing-braces]
ce1e181b1346ee3fc32cd4159e1ebae75fa7d4bb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ce1e181b1346ee3fc32cd4159e1ebae75fa7d4bb
2011-06-30 13:34:38+02:00
h264-mt: fix deadlock in packets with multiple slices (e.g. MP4).
ea6331f8bbaf3343faec6ffe77a6218a016a3af5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ea6331f8bbaf3343faec6ffe77a6218a016a3af5
2011-06-20 10:24:33-04:00
graphparser: add missing NULL check in avfilter_graph_parse() Fix a crash occurring when open_inputs is NULL and *open_inputs is checked, the crash was introduced by the recent avfilter_graph_parse() syntax change. In particular, fix graph2dot crash.
8055433b492fe971a145a07470119ef8c2c71571
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8055433b492fe971a145a07470119ef8c2c71571
2011-06-18 02:08:38+02:00
ffmpeg: fix massive leak occurring when seeking Avoid to add frames to the vsrc_buffer in the case ist->pts < start_time, as these frames are unused (and never released). In particular this condition is verified with commands of the kind: ffmpeg -i INPUT -ss TIME OUTPUT Also allow a minor simplification.
e4841a404bdabfeafb917454d510b60d888cb761
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e4841a404bdabfeafb917454d510b60d888cb761
2011-06-05 13:32:33+02:00
ffserver: dont just crash With changes from ubitux.
840238b8706ea2ca740cf4b49bffd8ae196352f9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/840238b8706ea2ca740cf4b49bffd8ae196352f9
2011-05-21 04:50:59+02:00
fate: fix fate-h264-conformance-frext-pph10i4-panasonic-a crcs. The sample on rsync was corrupt, this one is now bitexact w.r.t. JM.
b51021da7b69a98f135cf15bbe7f3ecb08daaa82
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/b51021da7b69a98f135cf15bbe7f3ecb08daaa82
2011-05-23 08:44:31-04:00
asfdec: do not fall back to binary/generic search asf_read_seek() inside the asf demuxer already does the right thing, it tries the index and if that fails it uses binary search. If binary search is called from outside of asfdec.c it will fail because the asf code cannot clean up after itself. Therefore introduce AVFMT_NOBINSEARCH that prevents the seek code to fallback to binary search and AVFMT_NOGENSEARCH that prevents the seek code to fallback to generic search.
69fa23961ededd725c68b188493cf2653d70f4fd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/69fa23961ededd725c68b188493cf2653d70f4fd
2011-05-17 22:06:00+02:00
matroskaenc: fix memory leak This fixes a memory leak occurring when no cue points are defined since commit 91819763. Signed-off-by: Mans Rullgard <[email protected]>
eddd580b743692bc930692cb0c5a3e930ab45ad4
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/eddd580b743692bc930692cb0c5a3e930ab45ad4
2011-05-04 18:06:45+01:00
lsws: prevent overflow in sws_init_context() In the loop: for (i=0; i<dstH; i++) { int chrI= i*c->chrDstH / dstH; when i*c->chrDstH > INT_MAX this leads to an integer overflow, which results in a negative value for chrI and in out-of-buffer reads. The overflow is avoided by forcing int64_t arithmetic by casting i to int64_t. Fix crash, and trac issue #72. Signed-off-by: Stefano Sabatini <[email protected]>
bd2a3700c045201b043a0e812d932e9d4fc37e82
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/bd2a3700c045201b043a0e812d932e9d4fc37e82
2011-04-25 22:45:19+02:00
dfa: protect pointer range checks against overflows.
d38345878cbb89e4d8d33bd79f47836d4e9cd637
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/d38345878cbb89e4d8d33bd79f47836d4e9cd637
2011-03-29 07:14:44-07:00
configure: Remove the explicit disabling of ffserver It is automatically disabled on both mingw and dos due to the lack of fork.
8bb605c11fd745bad3b4a454cb8a5a37efa6bdd7
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8bb605c11fd745bad3b4a454cb8a5a37efa6bdd7
2011-03-24 09:02:59+01:00
Fix crash on resolution change (issue 2393). Don't free RBSP tables (containing decoded NAL units) on resolution change, because we actually need this data to decode the frame after reiniting (with new resolution). Fixed issue 2393. Signed-off-by: Janne Grunau <[email protected]> (cherry picked from commit 9107892624c8f9978489ab5b4c0ef2fc5637fb62)
2ed0f76655a76cc49f8a1a1d59e545f5906e7924
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2ed0f76655a76cc49f8a1a1d59e545f5906e7924
2011-01-23 19:32:08+01:00
configure: check yasm/nasm for working pextrd opcode NASM versions older than 2.08 fail to build ffmpeg with several "error: operation size not specified" errors but this is not caught in configure. Fix that by checking if "pextrd [eax], xmm0, 1" works in configure. Signed-off-by: Ronald S. Bultje <[email protected]>
48545a8f724247853c5b1d4e0a24e3ea3ee06515
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/48545a8f724247853c5b1d4e0a24e3ea3ee06515
2011-02-06 11:43:35-05:00
In mov demuxer, check that stts data exists, fix crash, issue #2479 Originally committed as revision 26227 to svn://svn.ffmpeg.org/ffmpeg/trunk
4af7166fb4a1334fe05f7aa483fcc1cc8560acc1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/4af7166fb4a1334fe05f7aa483fcc1cc8560acc1
2011-01-05 19:14:44+00:00
Assert that the context doesnt overflow in ffv1. Originally committed as revision 25475 to svn://svn.ffmpeg.org/ffmpeg/trunk
f08ed90d9407bd7601130ac30f20651acf250188
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/f08ed90d9407bd7601130ac30f20651acf250188
2010-10-14 22:03:38+00:00
ARM: disable movw/movt for relocated values on Apple platforms Apparently Apple platforms do not handle movw/movt relocations properly, leading to runtime crashes in code using them. Originally committed as revision 25150 to svn://svn.ffmpeg.org/ffmpeg/trunk
75c490f467655bf7be664abdde6858c6f8db5f35
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/75c490f467655bf7be664abdde6858c6f8db5f35
2010-09-20 21:50:46+00:00
pixdesc: use 8-bit accesses when possible in av_read/write_image_line() This fixes out of bounds accesses for big endian formats and should be a little faster. Originally committed as revision 25110 to svn://svn.ffmpeg.org/ffmpeg/trunk
9525243f59f0a13e099612b66f7ba5d5d5293c70
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9525243f59f0a13e099612b66f7ba5d5d5293c70
2010-09-12 21:39:54+00:00
stream_selection can be freed in the fail case, in which case it's unassigned. Therefore, init it with NULL to prevent a crash on invalid streams. Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24960 to svn://svn.ffmpeg.org/ffmpeg/trunk
37c506e8b94d2691539bc29ef861903503a99b82
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/37c506e8b94d2691539bc29ef861903503a99b82
2010-08-28 23:55:26+00:00
VP8: add missing free Fixes a tiny memory leak. Originally committed as revision 24504 to svn://svn.ffmpeg.org/ffmpeg/trunk
fca05ea8a047afbc6bddb319ab659a445670a451
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/fca05ea8a047afbc6bddb319ab659a445670a451
2010-07-26 07:10:30+00:00
oggparsevorbis: Add some sanity checks to header packet ordering/presence. Originally committed as revision 24740 to svn://svn.ffmpeg.org/ffmpeg/trunk
73c44cb2869bfdbea829942eb35efa6d4c4e2f91
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/73c44cb2869bfdbea829942eb35efa6d4c4e2f91
2010-08-07 21:30:34+00:00
Check the status code of each server responses, and fail if it indicates a problem. Patch by Zhentan Feng <spyfeng gmail com>. Originally committed as revision 24358 to svn://svn.ffmpeg.org/ffmpeg/trunk
9078eba062f5e0463d4029aa42b7b0026f42bed3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9078eba062f5e0463d4029aa42b7b0026f42bed3
2010-07-20 15:01:06+00:00
Plug memory leak in NSV demuxer. Patch by Jai Menon. Originally committed as revision 22173 to svn://svn.ffmpeg.org/ffmpeg/trunk
1f6d0d42c53cde5e33e92c4529b774c256157f89
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1f6d0d42c53cde5e33e92c4529b774c256157f89
2010-03-03 17:26:00+00:00
Plug memory leak for truncated files Originally committed as revision 22154 to svn://svn.ffmpeg.org/ffmpeg/trunk
5eef7bcd09ab1f73df6c70923dfa3f4ccd5b4190
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/5eef7bcd09ab1f73df6c70923dfa3f4ccd5b4190
2010-03-02 21:32:56+00:00
Fix memory leak for truncated packets in idCin demuxer Originally committed as revision 21938 to svn://svn.ffmpeg.org/ffmpeg/trunk
044a950d8230c881c7e6833f9999498784f3fc76
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/044a950d8230c881c7e6833f9999498784f3fc76
2010-02-21 14:41:39+00:00
Check avctx width/height more thoroughly (e.g. all values 0 except width would have been accepted before). Also do not fail if they are invalid but instead override them to 0. This allows decoding e.g. MPEG video when only the container values are corrupted. For encoding a value of 0,0 of course makes no sense, but was allowed through before and will be caught by an extra check in the encode function. Originally committed as revision 25124 to svn://svn.ffmpeg.org/ffmpeg/trunk
82eac2f3216534c065c5023e5599720bd17bed26
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/82eac2f3216534c065c5023e5599720bd17bed26
2010-09-15 04:46:55+00:00
Make the pal2rgbWrapper set and use the converter in pal2rgbWrapper only if the input format is paletted. Fix potential crashes/weirdness if the input format is non-paletted. Originally committed as revision 30358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
c0d1dc1c4f41ab76414e797a461efce128bda0ed
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c0d1dc1c4f41ab76414e797a461efce128bda0ed
2010-01-17 23:00:01+00:00
Partially revert r20233, exp2f is not available on some BSDs, DOS and AVR32. Originally committed as revision 20240 to svn://svn.ffmpeg.org/ffmpeg/trunk
a57afd2943a4c222c1575abd8707120c80267be9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/a57afd2943a4c222c1575abd8707120c80267be9
2009-10-15 17:10:07+00:00
MXF: simply ignore tracks that are invalid due to not having a valid Sequence part instead of failing completely. This partly fixes issue 1470 (broken files created by BBC ingex recorder). Originally committed as revision 20221 to svn://svn.ffmpeg.org/ffmpeg/trunk
1e6999933478bca298ef92fe05e4224385bfd697
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/1e6999933478bca298ef92fe05e4224385bfd697
2009-10-13 08:08:10+00:00
Revert r18344. Fixes at least issue 1218, 1221, and 1187), see master issue 1221 for details. Briefly, out of bounds field mvs in field pictures would cause a crash. Originally committed as revision 19575 to svn://svn.ffmpeg.org/ffmpeg/trunk
ca6493ab40d307a9e3d970df04adcf424f43be65
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ca6493ab40d307a9e3d970df04adcf424f43be65
2009-08-03 17:54:11+00:00
Make decode_init fail if the huffman tables are invalid and thus init_vlc fails. Otherwise this will crash during decoding because the vlc tables are NULL. Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240. Originally committed as revision 19355 to svn://svn.ffmpeg.org/ffmpeg/trunk
c4b7b8bf9c9501aa8adfddc405dd8aab25498868
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c4b7b8bf9c9501aa8adfddc405dd8aab25498868
2009-07-06 09:22:39+00:00
H.264: Don't set data_partitioning for invalid NAL_DPA. Before, the decoder could interpret a corrupt frame as a NAL_DPA and NAL_DPC, and then start decoding even if decode_slice_header() returned an error. This frequently caused crashes. Fixes issue1228, issue1229, and partially issue1238. Originally committed as revision 19328 to svn://svn.ffmpeg.org/ffmpeg/trunk
0410ee8f868ae307517f8554f2aa3a11b511dac5
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0410ee8f868ae307517f8554f2aa3a11b511dac5
2009-07-03 05:52:00+00:00
Use AV_R/WN32 instead of direct integer copying. Fixes decoding on at least Sparc/Solaris where unaligned accesses cause crashes. ML thread: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/91414 Originally committed as revision 18967 to svn://svn.ffmpeg.org/ffmpeg/trunk
50352827f6444cf74fe37de9827c3ebb9a55fbcb
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/50352827f6444cf74fe37de9827c3ebb9a55fbcb
2009-05-27 18:59:24+00:00
Add a few size checks when decoding rtjpeg blocks. Might avoid crashes in unlikely cases, but mostly avoids ugly artefacts for partial frames. Originally committed as revision 18925 to svn://svn.ffmpeg.org/ffmpeg/trunk
8d857c543402911f46ad38b093ab9aaf5b9a9a18
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/8d857c543402911f46ad38b093ab9aaf5b9a9a18
2009-05-24 09:03:45+00:00
Fix for issue #829 ("ffvorbis outputs crackling sound, libvorbis plays fine") This was off-by-one bug which affects floor0 encoded files. Tracked down by valgrind (was reported as the use of uninitialized memory). With this patch applied, tiny_psnr now reports the following when ffvorbis is compared to libvorbis-1.0beta4 output for 'lsp-test.ogg' sample: stddev: 0.76 PSNR: 98.69 bytes: 3498380/ 3498452 Output from libvorbis-1.2 is substantially different: stddev: 132.57 PSNR: 53.87 bytes: 3498424/ 3498496 Originally committed as revision 18821 to svn://svn.ffmpeg.org/ffmpeg/trunk
460c0abfbb6390533a8a04e661971ff0ad4c6cbd
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/460c0abfbb6390533a8a04e661971ff0ad4c6cbd
2009-05-14 06:38:49+00:00
Avoid crash on planarCopy to a destination without alpha. Makes regression tests run again, though the results are still wrong. Originally committed as revision 29018 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
20ddf5a8e4cb6ce8c9a6dcfbabf6d0cef2a712df
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/20ddf5a8e4cb6ce8c9a6dcfbabf6d0cef2a712df
2009-03-20 17:22:03+00:00
Make sure the block array is of the correct size. This might have been exploitable. Originally committed as revision 18393 to svn://svn.ffmpeg.org/ffmpeg/trunk
dc7f45a08e9f0a3f983b0fd5ce972fa4acc905ed
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/dc7f45a08e9f0a3f983b0fd5ce972fa4acc905ed
2009-04-09 18:47:50+00:00
lpc: Remove false positive compilation warning about weight being uninitialized. Patch by Patrik Kullman (patrik A yes D nu). Originally committed as revision 17218 to svn://svn.ffmpeg.org/ffmpeg/trunk
3cfe88194a6ea8c720dfc85239d03c659473bcc3
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/3cfe88194a6ea8c720dfc85239d03c659473bcc3
2009-02-13 22:05:55+00:00
vp56: alpha_offset is uninitialized on purpose Originally committed as revision 17108 to svn://svn.ffmpeg.org/ffmpeg/trunk
ed761067550ec784c62b32dd749bbbca62462d89
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/ed761067550ec784c62b32dd749bbbca62462d89
2009-02-09 22:45:30+00:00
Replace idiotic (what moron wrote that code?) "buffer overflow" message by abort() Originally committed as revision 11546 to svn://svn.ffmpeg.org/ffmpeg/trunk
76d7c327eba042106b729e9d671b6f85f515b1af
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/76d7c327eba042106b729e9d671b6f85f515b1af
2008-01-17 00:12:04+00:00
Prevent overflows during mpeg->jpeg yuv. Originally committed as revision 27552 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
aa13b0fc55f5aec58fce24d1a047271b3e5727f1
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/aa13b0fc55f5aec58fce24d1a047271b3e5727f1
2008-09-09 03:35:07+00:00
sanity checks (should prevent hypothetical div by zero issue) should fix sf bug #1547313 Originally committed as revision 9164 to svn://svn.ffmpeg.org/ffmpeg/trunk
47b777ceed470104fb4e6325d5ac1bddbb4752c8
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/47b777ceed470104fb4e6325d5ac1bddbb4752c8
2007-05-30 23:06:37+00:00
Do not execute the part of fill_caches() for the loopfilter that overwrites reference indexes and motion vectors. Fixes at least: CVMAQP2_Sony_G Originally committed as revision 14678 to svn://svn.ffmpeg.org/ffmpeg/trunk
0281d32550639c806b7eccd2b17cc5d125e4253d
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0281d32550639c806b7eccd2b17cc5d125e4253d
2008-08-10 00:38:41+00:00
All mp3 parsers are buggy fix 2 of n (out of array write, i suspect not exploitable) Originally committed as revision 14070 to svn://svn.ffmpeg.org/ffmpeg/trunk
03289958938e91dc9bc398fdf1489677c6030063
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/03289958938e91dc9bc398fdf1489677c6030063
2008-07-04 22:04:41+00:00
Call mpegvideo flush routine on h264 flush. Needed in particular to clear last_picture_ptr, next_picture_ptr for proper picture management. Prevents crashes in error concealer following seeks. Fixes Roundup issue 189. Originally committed as revision 11049 to svn://svn.ffmpeg.org/ffmpeg/trunk
e240f898ffd2169d9147ccb0b557620e11f66597
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/e240f898ffd2169d9147ccb0b557620e11f66597
2007-11-17 03:04:21+00:00
fix exploitable buffer overflow Originally committed as revision 8850 to svn://svn.ffmpeg.org/ffmpeg/trunk
9f1473b304ae11ee09b7ae22016c951fdce31dd2
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/9f1473b304ae11ee09b7ae22016c951fdce31dd2
2007-04-27 12:41:55+00:00
Fix ffserver crash when closing the second RTP session Originally committed as revision 8799 to svn://svn.ffmpeg.org/ffmpeg/trunk
57dbe08b61ba525cf734dbedd0ded6532a60a878
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/57dbe08b61ba525cf734dbedd0ded6532a60a878
2007-04-24 13:28:38+00:00
bitrate sanity check (fixes assertion failure) Originally committed as revision 8293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2ed76c08c34b7fc0acac32307cc63f3b15a58981
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/2ed76c08c34b7fc0acac32307cc63f3b15a58981
2007-03-08 10:25:06+00:00
Make av_fifo*_read() ignore the available amount of data. This is more efficient as in practice the check is redundant most of the time. Callers which do not know if enough data is available have to check it with av_fifo_size(). Doing the check in *read() means the caller has no choice to skip the check when its known to be redundant. Also the return value was never documented in a public header so changing it should not break the API. Besides this fixes the case where read() failed on a 100% full fifo. Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
0871ae1a930122f7124358a0ce3caf81876913a9
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0871ae1a930122f7124358a0ce3caf81876913a9
2008-05-25 22:20:39+00:00
Fix JPEG-LS encoder 0xff-escaping writing too much or uninitialized data. Originally committed as revision 7284 to svn://svn.ffmpeg.org/ffmpeg/trunk
c8aee695c50f879186ca5f9cbaefb076a0d0343f
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/c8aee695c50f879186ca5f9cbaefb076a0d0343f
2006-12-11 20:18:36+00:00
check input validity, this prevents a few variables from reachin odd values which might have lead to out of array writes and thus might have been exploitable Originally committed as revision 8522 to svn://svn.ffmpeg.org/ffmpeg/trunk
0cb7f8a26094c533b7dbe25897198953b6660f15
ffmpeg
devign
1
https://github.com/ffmpeg/ffmpeg
https://github.com/ffmpeg/ffmpeg/commit/0cb7f8a26094c533b7dbe25897198953b6660f15
2007-03-25 23:37:38+00:00