Skip to content
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

std: Fix peeling ports from addresses #23097

Merged
merged 1 commit into from
Mar 7, 2015

Conversation

alexcrichton
Copy link
Member

The rsplitn call was called with 2 instead of 1 so the iterator would yield 3
items in some cases, not the 2 that it should have.

Closes #23076

The `rsplitn` call was called with 2 instead of 1 so the iterator would yield 3
items in some cases, not the 2 that it should have.

Closes rust-lang#23076
@rust-highfive
Copy link
Collaborator

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@aturon
Copy link
Member

aturon commented Mar 6, 2015

@bors: r+ 65b4eda

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 6, 2015
 The `rsplitn` call was called with 2 instead of 1 so the iterator would yield 3
items in some cases, not the 2 that it should have.

Closes rust-lang#23076
@Manishearth
Copy link
Member

This seems to be causing panics within panics on Windows (only)

@retep998 got a sortof-backtrace

@retep998
Copy link
Member

retep998 commented Mar 6, 2015

Note that error was from building the rollup PR which happened to include this PR. I am still working on building just this PR. Unfortunately LLVM really likes to rebuild all the time.

@retep998
Copy link
Member

retep998 commented Mar 6, 2015

This is the error I get when running make check-stage2-std on this PR.

@Manishearth
Copy link
Member

Yeah, same test, just that the doublepanic doesn't happen

@alexcrichton
Copy link
Member Author

This is not the cause of the double panic.

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Mar 6, 2015
The `rsplitn` call was called with 2 instead of 1 so the iterator would yield 3
items in some cases, not the 2 that it should have.

Closes rust-lang#23076
@bors bors merged commit 65b4eda into rust-lang:master Mar 7, 2015
@alexcrichton alexcrichton deleted the issue-23076 branch March 7, 2015 06:13
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.

UdpSocket::bind() accepts invalid IPv6 address
6 participants