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_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)
# RagePhoto CMake includes

View file

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

View file

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