1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
From: "Danis Jiang (Yuhao Jiang)"
<43723722+DanisJiang@users.noreply.github.com>
Date: Thu, 24 Apr 2025 10:39:19 +0800
Subject: Fix format errors
Origin: https://github.com/AOMediaCodec/libavif/commit/c9f1bea437f21cb78f9919c332922a3b0ba65e11
Bug: https://github.com/AOMediaCodec/libavif/pull/2768
Bug-Debian: https://bugs.debian.org/1105885
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2025-48174
---
src/stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stream.c b/src/stream.c
index da1f019c5a4f..a2ae4f620a56 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -335,7 +335,7 @@ avifBool avifROStreamReadAndEnforceVersion(avifROStream * stream, uint8_t enforc
static avifResult makeRoom(avifRWStream * stream, size_t size)
{
if (size > SIZE_MAX - stream->offset) {
- return AVIF_RESULT_OUT_OF_MEMORY;
+ return AVIF_RESULT_OUT_OF_MEMORY;
}
size_t neededSize = stream->offset + size;
size_t newSize = stream->raw->size;
--
2.49.0
|