Skip to content

Commit

Permalink
wsd: asan: stack-use-after-scope
Browse files Browse the repository at this point in the history
Change-Id: Ia14e67f36b22ab45782cf0d1808b71e37b834104
Reviewed-on: https://gerrit.libreoffice.org/79324
Reviewed-by: Ashod Nakashian <[email protected]>
Tested-by: Ashod Nakashian <[email protected]>
  • Loading branch information
Ashod committed Sep 22, 2019
1 parent fbed7bf commit 68d834a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/Socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ bool StreamSocket::parseHeader(const char *clientName,
if (map)
map->_messageSize += contentLength;

const std::string& expect = request.get("Expect", "");
const std::string expect = request.get("Expect", "");
bool getExpectContinue = !expect.empty() && Poco::icompare(expect, "100-continue") == 0;
if (getExpectContinue && !_sentHTTPContinue)
{
Expand Down

0 comments on commit 68d834a

Please sign in to comment.