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

@ -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
}