RemoteVstPlugin crashes on loading/saving presets if it fails to open the file #5234
Labels
bug
development branch
This issue affects the development branch(master)
stable branch
This issue applies to the latest stable
Milestone
Regression probably introduced in #4401.
Previously,
RemoteVstPlugin
usedread()
/write()
to read/write data to file. From #4401, it usesfread()
/fwrite()
instead. It seems likeread()
/write()
just fails if theopen()
failed, butfread()
/fwrite()
crashes if the correspondingfopen()
fails and return the null pointer.I think it shouldn't be difficult to fix this bug.
The text was updated successfully, but these errors were encountered: