From 19656db67660a960834d69cdf6c78a0f6a1bddb3 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 3 Oct 2024 18:31:44 +0900 Subject: [PATCH] renderer/compressor: corrected base64 decoded data size issue: https://github.com/thorvg/thorvg/issues/2794 --- src/common/tvgCompressor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/tvgCompressor.cpp b/src/common/tvgCompressor.cpp index ffc563f7..a068d91b 100644 --- a/src/common/tvgCompressor.cpp +++ b/src/common/tvgCompressor.cpp @@ -468,7 +468,7 @@ size_t b64Decode(const char* encoded, const size_t len, char** decoded) encoded += 4; } *decoded = output; - return reserved; + return idx; }