Closed walker-WSH closed 2 years ago
How would a user fall into this error case?
How would a user fall into this error case?
How to reproduce this crash ?
Could you list a couple of free VST plugins that this issue can be reproduced with?
Could you list a couple of free VST plugins that this issue can be reproduced with?
I have attached a image for free VST plugin, you can use it to reproduce.
@WizardCM
this VST plugin can also be used to reproduce: readelay-standalone.dll BL-Denoiser.dll spire-1.5.dll
Unfortunately I am unable to reproduce this crash on current master.
Unfortunately I am unable to reproduce this crash on current master.
That is strange. I can reproduce it every time with the given Plugins. I tried apply chunk-data of different Plugin to the given Plugins, crash still happen.
Even you can't reproduce it, we should not apply chunk-data of plugin A to plugin B. So I think this commit is necessary.
I agree.
Description
Before applying chunk-data, we should check if data is for this VST plugin. Some VST plugin will crash at effSetChunk if chunk-data is not for it. Besides, it is meaningless to apply chunk-data to a mismatched VST plugin.
For example:
It can also be reproduced with: readelay-standalone.dll BL-Denoiser.dll spire-1.5.dll
Motivation and Context
Fix crash
How Has This Been Tested?
switch selected VST and reboot OBS
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist: