This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Avoided a possible crash in ValueTree::readFromStream when loading corrupt data.
tags/2021-05-28
jules
10 years ago
parent
6fbc00f0ce
commit
1c19301b1f
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
modules/juce_data_structures/values/juce_ValueTree.cpp
+ 3
- 0
modules/juce_data_structures/values/juce_ValueTree.cpp
View File
@@ -1022,6 +1022,9 @@ ValueTree ValueTree::readFromStream (InputStream& input)
{
ValueTree child (readFromStream (input));
if (! child.isValid())
return v;
v.object->children.add (child.object);
child.object->parent = v.object;
}
Write
Preview
Loading…
Cancel
Save