libragephoto 0.7.1 release
- RagePhoto.c: fix memory corruption bug at ragephoto_setphotodesc
This commit is contained in:
parent
bb52ffb84b
commit
a404a29188
3 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue