Skip to content

Conversation

@ozanh
Copy link
Contributor

@ozanh ozanh commented May 7, 2020

Zero sized scripts panic so I added a length check and used bytes package.

@CLAassistant
Copy link

CLAassistant commented May 7, 2020

CLA assistant check
All committers have signed the CLA.

@mvertes mvertes added contributor/waiting-for-corrections area/cli Command Line Interface bug Something isn't working labels May 7, 2020
This allows to keep most of the code unchanged and more readable.
Copy link
Collaborator

@mvertes mvertes left a comment

Choose a reason for hiding this comment

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

Thanks for the bug fix. I changed the patch to use strings.HasPrefix to perform the bound check.

@mvertes mvertes merged commit bb1be9e into traefik:master May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli Command Line Interface bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants