Closed defiantnerd closed 11 months ago
https://github.com/steinbergmedia/vst3_pluginterfaces/blob/37de655a51b28a558645621b39d48a00292be5e2/base/fstrdefs.h#L249
a buffer overflow can appear in str8toStr16(). Fix would be to compare if ( i == n-1 ).
str8toStr16()
if ( i == n-1 )
n is the size of the buffer, but used as index in the next operation writing behind the string buffer.
Thanks for finding it... It will be fixed in next update
https://github.com/steinbergmedia/vst3_pluginterfaces/blob/37de655a51b28a558645621b39d48a00292be5e2/base/fstrdefs.h#L249
a buffer overflow can appear in
str8toStr16()
. Fix would be to compareif ( i == n-1 )
.n is the size of the buffer, but used as index in the next operation writing behind the string buffer.