Skip to content

[release/6.0] Fixing a possible null reference error in WebSocket deflate. - #62716

Merged
danmoseley merged 2 commits into
release/6.0from
backport/pr-62428-to-release/6.0
Dec 23, 2021
Merged

[release/6.0] Fixing a possible null reference error in WebSocket deflate.#62716
danmoseley merged 2 commits into
release/6.0from
backport/pr-62428-to-release/6.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Dec 13, 2021

Copy link
Copy Markdown
Contributor

Backport of #62428 to release/6.0

Fixes#62422

/cc @CarnaViire@zlatanov

Customer Impact

Customer reported segfault crashes after turning on WebSocket compression (new feature in .NET 6.0), which happened 1x per day in their production across multiple servers with 50-100 WebSocket messages per second.
It's a bug where output buffer may unexpectedly become exhausted which would lead to trying to pin an empty span.

Testing

Customer verified the fix using private bits #62422 (comment)

Note: It is hard to generate targeted test that would hit the problem, as the payload needs to be crafted for specific internal zlib buffer size (256KB).

Risk

Low. A one-liner change in product code.
WebSocket compression is a new feature in 6.0 which is turned off by default.

@ghostghost added the area-System.Net label Dec 13, 2021
@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #62428 to release/6.0

/cc @CarnaViire@zlatanov

Customer Impact

Testing

Risk

Author:github-actions[bot]
Assignees:-
Labels:

area-System.Net

Milestone:-

@karelzkarelz added this to the 6.0.x milestone Dec 13, 2021
@karelzkarelz added the Servicing-consider Issue for next servicing release review label Dec 13, 2021
@danmoseley

Copy link
Copy Markdown
Contributor

@CarnaViire could you please send mail direct to tactics for approval as I'm on vac from tomorrow.

@karelz

Copy link
Copy Markdown
Member

I will handle the Tactics email.

@karelzkarelz assigned karelz and unassigned CarnaViireDec 16, 2021
@leecowleecow added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Dec 16, 2021
@leecowleecow modified the milestones: 6.0.x, 6.0.2Dec 16, 2021
@danmoseley
danmoseley merged commit 67b110e into release/6.0Dec 23, 2021
@danmoseley
danmoseley deleted the backport/pr-62428-to-release/6.0 branch December 23, 2021 22:42
@ghostghost locked as resolved and limited conversation to collaborators Jan 23, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.NetServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@danmoseley@karelz@CarnaViire@leecow@zlatanov