You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
It should be max - 1, otherwise the nul terminator set by the previous statement will be overwritten and the C string becomes open-ended ... undefined behavior when the DAW reads this!
I'm aware that usage of this project is deprecated but I think there are still some plug-ins out there using it, so hope this helps.
The text was updated successfully, but these errors were encountered:
helgoboss
added a commit
to helgoboss/vst-rs
that referenced
this issue
Jun 10, 2023
This is caused by a bug in the
copy_string
function that can cause a missing nul terminator:vst-rs/src/interfaces.rs
Line 76 in ab74a56
It should be
max - 1
, otherwise the nul terminator set by the previous statement will be overwritten and the C string becomes open-ended ... undefined behavior when the DAW reads this!I'm aware that usage of this project is deprecated but I think there are still some plug-ins out there using it, so hope this helps.
The text was updated successfully, but these errors were encountered: