diff --git a/CHANGELOG.md b/CHANGELOG.md index 95759af32..173fe1db5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,18 +64,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * AVIF files with an exif_tiff_header_offset pointing at another byte than the first II or MM tag in the Exif metadata payload will now fail to be decoded. Set decoder->ignoreExif to true to skip the issue and decode the image. -* Fix memory errors reported in crbug.com/1501766 and crbug.com/1501770. +* Fix memory errors reported in crbug.com/1501766, crbug.com/1501770, and + crbug.com/1504792 by [Fudan University](https://secsys.fudan.edu.cn/). * For codecs, AVIF_CODEC_* and AVIF_LOCAL_* are now merged into AVIF_CODEC_* that can only take the values: OFF, LOCAL or SYSTEM. * For the libyuv, libsharpyuv, zlibpng and jpeg dependencies, AVIF_LOCAL_* is now replaced by flags AVIF_* that can take the values: OFF, LOCAL or SYSTEM. +* src/reformat.c: Allocate the threadData array directly. + +## [1.0.3] - 2023-12-03 + +### Changed +* Rewrite the fix for memory errors reported in crbug.com/1501770. +* Fix memory errors reported in crbug.com/1504792 by [Fudan + University](https://secsys.fudan.edu.cn/). +* src/reformat.c: Allocate the threadData array directly. ## [1.0.2] - 2023-11-16 ### Changed * Update avifCropRectConvertCleanApertureBox() to the revised requirements in ISO/IEC 23000-22:2019/Amd. 2:2021 Section 7.3.6.7. -* Fix memory errors reported in crbug.com/1501766 and crbug.com/1501770. +* Fix memory errors reported in crbug.com/1501766 and crbug.com/1501770 by + [Fudan University](https://secsys.fudan.edu.cn/). ## [1.0.1] - 2023-08-29 @@ -1051,6 +1062,7 @@ code. - `avifVersion()` function [Unreleased]: https://github.com/AOMediaCodec/libavif/compare/v1.0.0...HEAD +[1.0.3]: https://github.com/AOMediaCodec/libavif/compare/v1.0.2...v1.0.3 [1.0.2]: https://github.com/AOMediaCodec/libavif/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/AOMediaCodec/libavif/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/AOMediaCodec/libavif/compare/v0.11.1...v1.0.0 diff --git a/CMakeLists.txt b/CMakeLists.txt index a74b5f6bf..ea6e603f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ set(AVIF_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}") # Specify search path for CMake modules to be loaded by include() and find_package() list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules") -project(libavif LANGUAGES C VERSION 1.0.2) +project(libavif LANGUAGES C VERSION 1.0.3) # Set C99 as the default set(CMAKE_C_STANDARD 99) @@ -28,7 +28,7 @@ set(CMAKE_C_STANDARD 99) # Increment PATCH. set(LIBRARY_VERSION_MAJOR 16) set(LIBRARY_VERSION_MINOR 0) -set(LIBRARY_VERSION_PATCH 2) +set(LIBRARY_VERSION_PATCH 3) set(LIBRARY_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(LIBRARY_SOVERSION ${LIBRARY_VERSION_MAJOR}) diff --git a/include/avif/avif.h b/include/avif/avif.h index da75e2899..3f2ba8d0a 100644 --- a/include/avif/avif.h +++ b/include/avif/avif.h @@ -72,7 +72,7 @@ extern "C" { // to leverage in-development code without breaking their stable builds. #define AVIF_VERSION_MAJOR 1 #define AVIF_VERSION_MINOR 0 -#define AVIF_VERSION_PATCH 2 +#define AVIF_VERSION_PATCH 3 #define AVIF_VERSION_DEVEL 1 #define AVIF_VERSION \ ((AVIF_VERSION_MAJOR * 1000000) + (AVIF_VERSION_MINOR * 10000) + (AVIF_VERSION_PATCH * 100) + AVIF_VERSION_DEVEL)