Browse Source

Added a missing call to zeroUnusedBytes() in the String constructor of IPAddress

tags/2021-05-28
ed 7 years ago
parent
commit
c154024641
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_core/network/juce_IPAddress.cpp

+ 2
- 0
modules/juce_core/network/juce_IPAddress.cpp View File

@@ -107,6 +107,8 @@ IPAddress::IPAddress (const String& adr)
for (int i = 0; i < 4; ++i)
address[i] = (uint8) tokens[i].getIntValue();
zeroUnusedBytes();
}
else
{


Loading…
Cancel
Save