Skip to content

Bug 4718: Support filling raw buffer space of shared SBufs#87

Closed
chtsanti wants to merge 1 commit intosquid-cache:v4.0from
measurement-factory:Bug4718-Squid-ssl-bump-parser-crash-v4.0
Closed

Bug 4718: Support filling raw buffer space of shared SBufs#87
chtsanti wants to merge 1 commit intosquid-cache:v4.0from
measurement-factory:Bug4718-Squid-ssl-bump-parser-crash-v4.0

Conversation

@chtsanti
Copy link
Contributor

SBuf::forceSize() requires exclusive SBuf ownership but its precursor
SBuf::rawSpace() method does not guarantee exclusivity. The pair of
calls may result in SBuf::forceSize() throwing for no good reason.

New SBuf API provides a new pair of raw buffer appending calls that
reduces the number of false negatives.

This change may alleviate bug 4718 symptoms but does not address its
core problem (which is still unconfirmed).

This is a Measurement Factory project.

Port from master commit 672337d
Originally discussed under PR #64

SBuf::forceSize() requires exclusive SBuf ownership but its precursor
SBuf::rawSpace() method does not guarantee exclusivity. The pair of
calls may result in SBuf::forceSize() throwing for no good reason.

New SBuf API provides a new pair of raw buffer appending calls that
reduces the number of false negatives.

This change may alleviate bug 4718 symptoms but does not address its
core problem (which is still unconfirmed).

This is a Measurement Factory project.

Port from master commit 672337d
@rousskov rousskov added the S-waiting-for-maintainer maintainer action is expected (and usually required) label Nov 26, 2017
@rousskov
Copy link
Contributor

FYI: I have created (and used here) a new S-waiting-for-maintainer label because non-master commits should be done by the branch maintainer rather than anybody with write access. This label will make it easier to find porting PRs. However, if you think we should just search for non-master targeting PRs that have S-waiting-for-committer label instead, then we can remove this new label.

@yadij
Copy link
Contributor

yadij commented Nov 27, 2017

Included in PR #93

@yadij yadij closed this Nov 27, 2017
@chtsanti chtsanti deleted the Bug4718-Squid-ssl-bump-parser-crash-v4.0 branch June 17, 2019 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-for-maintainer maintainer action is expected (and usually required)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants