Skip to content

Fix tcp input decodebuffer edgecase - #140

Open
sedmicha wants to merge 2 commits into
masterfrom
fix-tcp-input-decodebuffer-edgecase
Open

sedmicha wants to merge 2 commits into
masterfrom
fix-tcp-input-decodebuffer-edgecase

Conversation

@sedmicha

Copy link
Copy Markdown
Collaborator

No description provided.

…header was fully read

In case exactly the full header was read (size == remaining), we would
return and not set m_decoded_size. Later, m_decoded_size would be
subtracted from resulting in an underflow.

```
remaining = m_decoded_size - m_part_decoded.size()
```

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant