iPlug2 icon indicating copy to clipboard operation
iPlug2 copied to clipboard

(WIN) WebView: calling SendArbitraryMsgFromDelegate() from C++ causes a heap corruption

Open adam-hanna opened this issue 3 years ago • 0 comments

https://github.com/iPlug2/iPlug2/blob/88b61dd31cdd6cecabd6b42826c9e9853381ca25/IPlug/Extras/WebView/IPlugWebViewEditorDelegate.h#L69

Needs quotes around the %s. E.g.

str.SetFormatted(mMaxJSStringLength, "SAMFD(%i, %i, '%s')", msgTag, dataSize, base64.data());

adam-hanna avatar Dec 31 '21 21:12 adam-hanna