Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Add a sanity check for git ls-remote output #1380

Merged
merged 1 commit into from
Nov 16, 2017
Merged

Add a sanity check for git ls-remote output #1380

merged 1 commit into from
Nov 16, 2017

Conversation

Civil
Copy link
Contributor

@Civil Civil commented Nov 16, 2017

This should fix panics for cases where git ls-remote contains
unepxected lines (e.x. some extra warnings from ssh)

Related to #1379

What does this do / why do we need it?

This should add some sanity checks for git ls-remote output.

What should your reviewer look out for in this PR?

Do you need help or clarification on anything?

Which issue(s) does this PR fix?

fixes #1379
fixes #1209

This should fix panics for cases where `git ls-remote` contains
unepxected lines (e.x. some extra warnings from ssh)

Related to #1379
@sdboyer sdboyer merged commit eed4d4b into golang:master Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panic at gps/vcs_source:301 panic: runtime error: slice bounds out of range
4 participants