This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix out of bounds write on vst state save
pull/6/head
falkTX
9 years ago
parent
8c4e45d4a7
commit
19f82001a2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
distrho/src/DistrhoPluginVST.cpp
+ 1
- 1
distrho/src/DistrhoPluginVST.cpp
View File
@@ -546,7 +546,7 @@ public:
fStateChunk = new char[chunkSize];
std::memcpy(fStateChunk, chunkStr.buffer(), chunkStr.length());
fStateChunk[chunkSize] = '\0';
fStateChunk[chunkSize
-1
] = '\0';
for (std::size_t i=0; i<chunkSize; ++i)
{
Write
Preview
Loading…
Cancel
Save