Skip to content

Fix Bake attribute definitions that referenced nil pointers - #312

Merged
rcjsuen merged 1 commit into
mainfrom
bake-definition-nil-fix
Jun 10, 2025
Merged

Fix Bake attribute definitions that referenced nil pointers#312
rcjsuen merged 1 commit into
mainfrom
bake-definition-nil-fix

Conversation

@rcjsuen

@rcjsuen rcjsuen commented Jun 10, 2025

Copy link
Copy Markdown
Collaborator

Some of the attribute lookup code assumed that all attributes were inside a block without considering the fact that you can have top level attributes that are not in any block.

Fixes #311.

Some of the attribute lookup code assumed that all attributes were
inside a block without considering the fact that you can have top level
attributes that are not in any block.

Signed-off-by: Remy Suen <remy.suen@docker.com>
@rcjsuen rcjsuen self-assigned this Jun 10, 2025
@rcjsuen
rcjsuen merged commit 9cadd16 into main Jun 10, 2025
@rcjsuen
rcjsuen deleted the bake-definition-nil-fix branch June 10, 2025 10:53
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.

Nil pointers referenced when looking up definitions of attributes

1 participant