Skip to content

build: bounds-check MountIDs/InputIDs in containerConfigFromError#3824

Closed
SAY-5 wants to merge 1 commit into
docker:masterfrom
SAY-5:fix/container-config-bounds-3822
Closed

build: bounds-check MountIDs/InputIDs in containerConfigFromError#3824
SAY-5 wants to merge 1 commit into
docker:masterfrom
SAY-5:fix/container-config-bounds-3822

Conversation

@SAY-5
Copy link
Copy Markdown

@SAY-5 SAY-5 commented May 2, 2026

Closes #3822. SolveError carries fewer Mount/Input IDs than ExecOp.Mounts for some failures; the bare solveErr.MountIDs[i] panics buildx debug build.

Closes docker#3822. SolveError can carry fewer Mount/Input IDs than ExecOp.Mounts; bare slice index panics buildx debug.

Signed-off-by: SAY-5 <say.apm35@gmail.com>
@SAY-5 SAY-5 force-pushed the fix/container-config-bounds-3822 branch from 1c254a5 to 85f093d Compare May 2, 2026 09:58
@crazy-max
Copy link
Copy Markdown
Member

crazy-max commented May 4, 2026

duplicate of #3823

@crazy-max crazy-max closed this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic in containerConfigFromError when running "buildx debug build"

2 participants