Skip to content

shell: handle empty string for var replacements#5052

Merged
tonistiigi merged 1 commit intomoby:masterfrom
tonistiigi:shell-empty-string
Jun 18, 2024
Merged

shell: handle empty string for var replacements#5052
tonistiigi merged 1 commit intomoby:masterfrom
tonistiigi:shell-empty-string

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

Avoid nil dereference when variable replacements/trims are used with empty string argument.

Copy link
Copy Markdown

@tstenner tstenner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants