exiv2/unitTests
Kevin Backhouse edb4bf78ca Add bounds check to MemIo::seek(). (#944)
- Regression test for missing bounds check in MemIo::seek()
- Add bounds check to MemIo::seek(), this fixes CVE-2019-13504

(cherry picked from commit bd0afe0390439b2c424d881c8c6eb0c5624e31d9)

Additional fixes for 0.27:
- Add fix for the linux variant of MemIo::seek
- Change type of variable from unsigned to signed
2019-07-28 12:43:06 +02:00
..
CMakeLists.txt Add bounds check to MemIo::seek(). (#944) 2019-07-28 12:43:06 +02:00
gtestwrapper.h Fix warnings reported by MSVC 2018-09-10 10:31:00 +02:00
mainTestRunner.cpp Test runner return the gtest return value 2017-12-17 18:26:12 +01:00
test_basicio.cpp Add bounds check to MemIo::seek(). (#944) 2019-07-28 12:43:06 +02:00
test_cr2header_int.cpp Fix bug in Cr2Header::read 2018-05-26 18:19:40 +02:00
test_DateValue.cpp Replaced way to check buffer after calling DateValue::copy 2018-04-08 10:10:12 +02:00
test_enforce.cpp Add stdexcept header in unit test files 2018-08-26 15:46:47 +02:00
test_futils.cpp Create function getProcessPath and add unit test for it 2018-11-11 12:27:26 +01:00
test_helper_functions.cpp Cleanup 'comparison between signed & unsigned integer' warning 2018-08-24 16:45:52 +02:00
test_image_int.cpp [binaryToString] Reimplement using Slices 2018-10-11 14:06:16 +02:00
test_safe_op.cpp [safe_op] Add Safe::abs(), calculates absoulte value without UB 2018-08-27 17:21:16 +02:00
test_slice.cpp Add Slices: views of STL containers & C-arrays and add unit tests 2018-10-11 14:06:16 +02:00
test_tiffheader.cpp Add more unit tests for TiffHeader 2018-05-26 18:19:40 +02:00
test_TimeValue.cpp Add unit tests for the TimeValue class 2018-09-10 08:40:55 +02:00
test_types.cpp [Appveyor] Build exiv2 with Visual Studio 2012 and 2013 2018-09-10 10:31:00 +02:00
test_XmpKey.cpp Expect std::exception instead of Exiv2::Error 2018-09-14 13:20:08 +02:00