Skip to content

multiplexer: fix consume of too many bytes (#11499) - #11965

Merged
ezelkow1 merged 1 commit into
apache:9.2.xfrom
ezelkow1:92x-11499
Jan 17, 2025
Merged

ezelkow1 merged 1 commit into
apache:9.2.xfrom
ezelkow1:92x-11499

Conversation

@ezelkow1

Copy link
Copy Markdown
Member

IOBufferReader::consume contractually assumes that all callers of it will not consume more bytes than read_avail for the buffer chain. This adds a debug assertion for this and fixes multiplexer so that it doesn't violate this invariant.

(cherry picked from commit 6774984)

IOBufferReader::consume contractually assumes that all callers of it
will not consume more bytes than read_avail for the buffer chain. This
adds a debug assertion for this and fixes multiplexer so that it doesn't
violate this invariant.

(cherry picked from commit 6774984)
@ezelkow1 ezelkow1 added Backport Marked for backport for an LTS patch release multiplexer multiplexer plugin labels Jan 16, 2025
@ezelkow1 ezelkow1 added this to the 9.2.8 milestone Jan 16, 2025
@ezelkow1
ezelkow1 requested a review from bneradt January 16, 2025 20:00
@ezelkow1 ezelkow1 self-assigned this Jan 16, 2025
@ezelkow1
ezelkow1 requested a review from bryancall as a code owner January 16, 2025 20:00
@bneradt

bneradt commented Jan 17, 2025

Copy link
Copy Markdown
Contributor

[approve ci fedora]

@ezelkow1
ezelkow1 merged commit d511aa5 into apache:9.2.x Jan 17, 2025
@ezelkow1
ezelkow1 deleted the 92x-11499 branch January 17, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport Marked for backport for an LTS patch release multiplexer multiplexer plugin

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants