Skip to content

llbsolver: fix possible panic when setting event to nil#4451

Merged
tonistiigi merged 1 commit into
moby:masterfrom
crazy-max:fix-panic-history
Nov 29, 2023
Merged

llbsolver: fix possible panic when setting event to nil#4451
tonistiigi merged 1 commit into
moby:masterfrom
crazy-max:fix-panic-history

Conversation

@crazy-max
Copy link
Copy Markdown
Member

When a record is marked for deletion the event is set to nil but we don't check if it's nil when sending events which could cause a panic.

When a record is marked for deletion the event is set to nil
but we don't check if it's nil when sending events which could
cause a panic.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max modified the milestone: v0.12.4 Nov 29, 2023
@tonistiigi tonistiigi merged commit 06c971f into moby:master Nov 29, 2023
@crazy-max crazy-max deleted the fix-panic-history branch November 29, 2023 20:02
@crazy-max crazy-max added this to the v0.12.4 milestone Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants