libragephoto 0.7.1 release

- RagePhoto.c: fix memory corruption bug at ragephoto_setphotodesc
This commit is contained in:
Syping 2025-10-26 23:26:51 +01:00
parent bb52ffb84b
commit a404a29188
3 changed files with 5 additions and 5 deletions

View file

@ -18,7 +18,7 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
cmake_policy(VERSION 3.16...3.28) cmake_policy(VERSION 3.16...3.28)
project(ragephoto VERSION 0.7.0 LANGUAGES C CXX) project(ragephoto VERSION 0.7.1 LANGUAGES C CXX)
include(GNUInstallDirs) include(GNUInstallDirs)
# RagePhoto CMake includes # RagePhoto CMake includes

View file

@ -1207,7 +1207,7 @@ void ragephoto_setphotodesc(ragephoto_t instance_t, const char *description, uin
} }
if (bufferSize != 0) { if (bufferSize != 0) {
instance->data->descBuffer = bufferSize; instance->data->descBuffer = bufferSize;
ragephoto_setbufferoffsets(instance->data); ragephotodata_setbufferoffsets(instance->data);
} }
instance->data->error = RAGEPHOTO_ERROR_NOERROR; // 255 instance->data->error = RAGEPHOTO_ERROR_NOERROR; // 255
} }

View file

@ -4,9 +4,9 @@
<TargetFrameworks>netstandard2.1;net47</TargetFrameworks> <TargetFrameworks>netstandard2.1;net47</TargetFrameworks>
<AssemblyName>RagePhoto.Core</AssemblyName> <AssemblyName>RagePhoto.Core</AssemblyName>
<RootNamespace>RagePhoto</RootNamespace> <RootNamespace>RagePhoto</RootNamespace>
<Version>0.7.0.1</Version> <Version>0.7.1</Version>
<AssemblyVersion>0.7.0</AssemblyVersion> <AssemblyVersion>0.7.1</AssemblyVersion>
<FileVersion>0.7.0</FileVersion> <FileVersion>0.7.1</FileVersion>
<Authors>Syping</Authors> <Authors>Syping</Authors>
<Copyright>Copyright © 2025 Syping</Copyright> <Copyright>Copyright © 2025 Syping</Copyright>
<Description>Open Source RAGE Photo Parser for GTA V and RDR 2</Description> <Description>Open Source RAGE Photo Parser for GTA V and RDR 2</Description>