- 10 Nov, 2016 1 commit
-
-
Andreas Cadhalpun authored
It can read less than the requested amount, in which case buf contains uninitialized data, causing problems like segmentation faults later on. Also make sure that image->size is positive, so that it can't match a negative error code. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 09 Nov, 2016 2 commits
-
-
Andreas Cadhalpun authored
Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 20 Feb, 2016 2 commits
-
-
Mark Harris authored
Avoid invalid memory read/crash when frame offset >= 0xfffffff8. Base64-encoded example: AAABADAwMDAwMAAAMAAwMDAw/P///w== (The previous commit verifies that p->buf_size >= 22.) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Mark Harris authored
Fix cases where unknown data (data beyond p->buf_size) could produce a higher ico probe score than if the unknown data was known and valid. For example: Header: OK, 2 frames Frame 0: Unknown (offset points beyond end of probe buffer) Frame 1: Invalid Previously this example had a score of 25, even though the score would be 1 if the unknown frame was known to be valid or 0 if it was known to be invalid. For this example the score is now 1. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 17 Jan, 2016 1 commit
-
-
Carl Eugen Hoyos authored
Avoids misdetection of MPEG (B-)frames. Reviewed-by: Michael Bradshaw
-
- 24 Sep, 2015 1 commit
-
-
Michael Bradshaw authored
-
- 16 Apr, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 08 Nov, 2013 1 commit
-
-
Michael Niedermayer authored
The ico probe function is pretty weak just checking a few bytes for being 0, 1 or not 0 Fixes probetest failure Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 15 Mar, 2013 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 13 Jan, 2012 1 commit
-
-
Peter Ross authored
Fixes ticket 759. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 Jan, 2012 3 commits
-
-
Peter Ross authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Peter Ross authored
Fixes ticket 905. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Peter Ross authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 04 Dec, 2011 1 commit
-
-
Peter Ross authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-