mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a buffer length check in TracktionMarketplaceStatus
This commit is contained in:
parent
c5862246b7
commit
0535d1b222
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ String TracktionMarketplaceStatus::readReplyFromWebserver (const String& email,
|
|||
if (thread->threadShouldExit() || stream->isError() || (contentLength > 0 && downloaded < contentLength))
|
||||
return {};
|
||||
|
||||
return { CharPointer_UTF8 (buffer.get()) };
|
||||
return { CharPointer_UTF8 (buffer.get()), static_cast<size_t> (downloaded) };
|
||||
}
|
||||
|
||||
return {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue