Skip to content

Releases: tbeu/matio

matio 1.5.27

20 Apr 12:42
Compare
Choose a tag to compare

Changes in matio 1.5.27 (20 April 2024)

  • Fixed const-correctness of input arguments of API functions
  • Fixed const-correctness of return type of Mat_GetDir (from char** to char* const*)
  • Fixed bug duplicating function class (with deep copy) in Mat_VarDuplicate
  • Fixed little endian detection for __aarch64__ (contributed by @maltelenz)
  • Fixed LFS support on MinGW 64-bit builds (contributed by @chris-se)
  • Fixed support of Unicode filenames on Windows (contributed by @chris-se)
  • Fixed detection of HDF5 version for UTF-8 based file name of HDF5 MAT file (contributed by @chris-se)
  • Fixed stack-based buffer overflow when reading (crafted) HDF5 MAT file
  • Fixed build on Solaris
  • Fixed build with Rust bindings and LLVM ≥ 16
  • CMake: Fixed MinGW linker error with libc (regression of v1.5.24) (contributed by @chris-se)
  • CMake: Enabled static analysis with Cppcheck via option MATIO_ENABLE_CPPCHECK:BOOL

Full Changelog: v1.5.26...v1.5.27

matio 1.5.26

12 Nov 19:22
Compare
Choose a tag to compare

Changes in 1.5.26 (12 November 2023)

  • Fixed testsuite (regression of v1.5.25)

Full Changelog: v1.5.25...v1.5.26

matio 1.5.25

10 Nov 19:53
Compare
Choose a tag to compare

Changes in 1.5.25 (10 November 2023)

  • Fixed reading struct array with null padded class name from HDF5 MAT file
  • Fixed memory leak in Mat_VarFree for function class
  • CMake: Silence MSVC compiler warnings

Full Changelog: v1.5.24...v1.5.25

matio 1.5.24

28 Oct 08:49
Compare
Choose a tag to compare

Changes in 1.5.24 (28 October 2023)

  • Added predicated iteration API functions Mat_VarReadNextInfoPredicate and Mat_VarReadNextPredicate to speed-up reading variables from HDF5 MAT file (contributed by @Ri0n)
  • Added new API function Mat_GetFileAccessMode to retrieve the file access mode of a MAT file
  • Changed: Mat_VarDelete returns error if MAT file is opened in read-only mode
  • Changed: Reduced memory foot-print of matvar_t.internal
  • Fixed read performance of cell/struct array from HDF5 MAT file
  • Fixed reference counting of HDF5 MAT file in Mat_VarDuplicate
  • Fixed file access mode of created v4 MAT file
  • Fixed read performance of Mat_GetDir for HDF5 MAT file
  • Fixed bug reading struct array from v5 MAT file (contributed by @Ri0n)
  • Fixed bug adding field to struct array of v5 MAT file (contributed by @Ri0n)
  • Fixed heap-based buffer overflow when reading HDF5 MAT file (contributed by by @sashashura)
  • Confirmed compatibility with HDF5 v1.14.x
  • autoconf: Enabled system extensions (contributed by @fweimer)
  • autoconf: Fixed getopt_long check (contributed by by @niclasr)
  • autoconf: Fixed pkg-config file for static linking
  • CMake: Updated cmake-conan to version 0.18.1
  • CMake: Fixed version comparison (contributed by @nim65s)
  • CMake: Fixed properties for CMake < 3.11 (contributed by @nim65s)
  • CMake: Fixed linker error on OpenBSD
  • CMake: Fixed checks of linker options (contributed by @MaartenBent)
  • Several other fixes, for example for memory leaks

Full Changelog: v1.5.23...v1.5.24

matio 1.5.23

31 Mar 21:42
Compare
Choose a tag to compare

Changes in 1.5.23 (31 March 2022)

  • Updated cmake-conan to version 0.18.0
  • Fixed testsuite (regression of v1.5.22)

matio 1.5.22

25 Mar 17:16
Compare
Choose a tag to compare

Changes in 1.5.22 (25 March 2022)

  • Added support for reading large MAT file
  • Updated cmake-conan to version 0.17.0
  • Fixed CMake build with Conan (MATIO_USE_CONAN:BOOL=ON)
  • Fixed data type when reading 16-bit character data from HDF5 MAT file
  • Fixed heap-based buffer overflows when reading (crafted) MAT file (CVE-2020-36428, CVE-2021-36977)
  • Confirmed compatibility with HDF5 v1.13.0 and v1.13.1
  • Several other fixes, for example for memory leaks (CVE-2022-1515)

matio 1.5.21

25 Mar 19:52
Compare
Choose a tag to compare

Changes in 1.5.21 (25 March 2021)

  • Fixed: Avoid usage of strlen when creating MAT_T_UTF8 encoded character array (regression of v1.5.20)
  • Fixed reading of compression flag from HDF5 MAT file

matio 1.5.20

21 Mar 20:30
Compare
Choose a tag to compare

Changes in 1.5.20 (21 March 2021)

  • Added support for writing MAT_T_UTF8 encoded character array to HDF5 MAT file (by conversion to UTF-16 if in BMP)
  • Updated cmake-conan to v0.16.1
  • Fixed bug with size_t arguments of logging function calls
  • Fixed bug reading past EOF from (crafted) MAT file
  • Fixed bug writing MAT_T_UTF8 encoded character array to v5 MAT file
  • Fixed printing of MAT_T_UTF8 encoded character array
  • Several other fixes, for example for memory leaks

matio 1.5.19

06 Nov 19:41
Compare
Choose a tag to compare

Changes in 1.5.19 (6 November 2020)

  • Fixed support for CMake (≥ v3.19.0) build system (contributed by @MaartenBent)
  • Fixed bug reading variable from v4 MAT file (regression of v1.5.18)

matio 1.5.18

17 Sep 19:51
Compare
Choose a tag to compare

Changes in 1.5.18 (17 September 2020)

  • Added support of HDF5 v1.12.x
  • Added support for UTF-8 encoded file name on Windows (MSVC) (requires HDF5 ≥ v1.11.6 for HDF5 MAT file)
  • Added support for reading uncompressed v5 MAT file generated by SWAN (contributed by @dpzimmer)
  • Added error codes to public interface
  • Added support for CMake build system (contributed by @JohanMabille and @MaartenBent)
  • Fixed read performance of numeric array from compressed v5 MAT file
  • Fixed support for VS2005 and VS2008 (MSVC) (regression of v1.5.15)
  • Fixed mktemp linker warning when using GNU linker (contributed by @stephen-sorley)
  • Fixed bug writing struct array to uncompressed v5 MAT file on big endian architecture (regression of v1.5.10)
  • Fixed bug writing cell array to uncompressed v5 MAT file on big endian architecture
  • Fixed bug reading variable name from v4 MAT file (CVE-2019-17533)
  • Fixed bug reading variable name from (crafted) compressed v5 MAT file (CVE-2020-19497)
  • Fixed bug reading dimensions from (crafted) compressed v5 MAT file (CVE-2019-20017, CVE-2019-20018, CVE-2019-20020, CVE-2019-20052)