Skip to content

Patch: Fixes #120 #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2019
Merged

Conversation

montj2
Copy link
Contributor

@montj2 montj2 commented Dec 27, 2019

Package: dh-make-golang
Version: 0.3.0-1

Background
When invoking 'dh-make-golang' with -allow_unknown_hoster argument the
user experiences 'panic: runtime error: slice bounds out of range [:-1]'
This is due to the host variable being unassigned prior to slicing.

Output
panic: runtime error: slice bounds out of range [:-1]

Reproduce
dh-make-golang make -allow_unknown_hoster code.cloudfoundry.org/bytefmt

Fixes #120

Debian Bug
947512

Cheers,

James

@anthonyfok
Copy link
Member

@montj2 Good catch James!
Thank you very much!

@anthonyfok anthonyfok merged commit ea67178 into Debian:master Dec 30, 2019
@utkarsh2102
Copy link
Member

Many thanks, James! ❤️

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.

panic: runtime error: slice bounds out of range [:-1]
3 participants