Catch negative indices in IParamValueQueue impl

This would cause crashes with the validator which created empty
parameter queues, and many plugins try to `getPoint(numPoints() - 1)`.
This commit is contained in:
Robbert van der Helm
2023-04-14 03:28:13 +02:00
parent e5a54637cd
commit 265ab1487b
3 changed files with 16 additions and 4 deletions
+8
View File
@@ -17,6 +17,14 @@ Versioning](https://semver.org/spec/v2.0.0.html).
makes sure that Wine will keep using X11 even if Wayland support becomes
available at some point.
### Fixed
- Negative indices were not treated as invalid arguments in some of the VST3
interface implementations and could cause crashes if a plugin for instance
tried to query a parameter value with signed index -1. This has now been
fixed. The issue only appeared with the VST3 validator, and not with any
regular hosts.
### yabridgectl
- VST 3.7.5 `moduleinfo.json` files without a `Compatibility` field are now