mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-10-29 17:52:44 +00:00
Net: fixed assert in MultipartStreamBuf constructor with empty boundaries (#1496)
This commit is contained in:
committed by
Aleksandar Fabijanic
parent
3a2b9014b9
commit
558c7ff45f
@@ -38,7 +38,7 @@ MultipartStreamBuf::MultipartStreamBuf(std::istream& istr, const std::string& bo
|
||||
_boundary(boundary),
|
||||
_lastPart(false)
|
||||
{
|
||||
poco_assert (!boundary.empty() && boundary.length() < STREAM_BUFFER_SIZE - 6);
|
||||
poco_assert (boundary.length() < STREAM_BUFFER_SIZE - 6);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user