io: fix crash in VNC websock server when client quits early
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 8 repliesIn review
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Improve finalizer robustness of TLS source
- Keep cleanup in finalizer of websock, just augment it in the close method
- Fix resetting of hs_ioc_tag value when callback is complete
- Add CVE assignemnt in 3rd patch
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | io: release active GSource in TLS channel finalizerio/ | +10 | 4 replies | |
| 2/3 | io: move websock resource release to close methodio/ | +10 | 1 reply | |
| 3/3 | io: fix use after free in websocket handshake codeinclude/ io/ | +18 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] io: fix crash in VNC websock server when client quits early
See patch 3 for the description of the problem and reproducer
Changes in v2:
- Improve finalizer robustness of TLS source
- Keep cleanup in finalizer of websock, just augment it in the close method
- Fix resetting of hs_ioc_tag value when callback is complete
- Add CVE assignemnt in 3rd patch
Daniel P. Berrangé (3):
io: release active GSource in TLS channel finalizer
io: move websock resource release to close method
io: fix use after free in websocket handshake code
include/io/channel-websock.h | 3 ++- io/channel-tls.c | 10 ++++++++++ io/channel-websock.c | 33 ++++++++++++++++++++++++++------- 3 files changed, 38 insertions(+), 8 deletions(-)
Signature · 1 line
2.50.1