Skip to content

Conversation

@zephyrbot
Copy link

@zephyrbot zephyrbot commented Nov 28, 2024

Backport c6a1af5~2..c6a1af5 from #82042.

Fixes #81992

If the packet cloning failed, bail out in order to avoid
null pointer access.

Fixes #81992
Coverity-CID: 434493

Signed-off-by: Jukka Rissanen <[email protected]>
(cherry picked from commit ed0dcca)
We need to drop the cloned packet that was fed to the bridge instead of
returning directly from the function. Without this change we have a
buffer leak.

Signed-off-by: Jukka Rissanen <[email protected]>
(cherry picked from commit c6a1af5)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: Networking labels Nov 28, 2024
@dkalowsk dkalowsk added this to the v4.0.1 milestone Dec 1, 2024
@dkalowsk dkalowsk merged commit 1e88982 into v4.0-branch Dec 9, 2024
29 of 30 checks passed
@dkalowsk dkalowsk deleted the backport-82042-to-v4.0-branch branch December 9, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Networking Backport Backport PR and backport failure issues

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants