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

bytes: comparing long byte slices on s390x gives incorrect results [1.10 backport] #26117

Closed
gopherbot opened this issue Jun 28, 2018 · 2 comments
Labels
CherryPickApproved Used during the release process for point releases FrozenDueToAge
Milestone

Comments

@gopherbot
Copy link

@bcmills requested issue #26114 to be considered for backport to the next 1.10 minor release.

@gopherbot, please consider backport to 1.10 and 1.9.

@gopherbot gopherbot added the CherryPickCandidate Used during the release process for point releases label Jun 28, 2018
@gopherbot gopherbot added this to the Go1.10.4 milestone Jun 28, 2018
@gopherbot
Copy link
Author

Change https://golang.org/cl/124016 mentions this issue: [release-branch.go1.10] bytes, strings: fix comparison of long byte slices on s390x

@gopherbot
Copy link
Author

Closed by merging 0931e9f to release-branch.go1.10.

gopherbot pushed a commit that referenced this issue Jul 16, 2018
…lices on s390x

The existing implementation of bytes.Compare on s390x doesn't work properly for slices longer
than 256 elements. This change fixes that. Added tests for long strings and slices of bytes.

Fixes #26117

Change-Id: If6d8b68ee6dbcf99a24f867a1d3438b1f208954f
Reviewed-on: https://go-review.googlesource.com/121495
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/124016
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
@golang golang locked and limited conversation to collaborators Jul 16, 2019
@dmitshur dmitshur added CherryPickApproved Used during the release process for point releases and removed CherryPickCandidate Used during the release process for point releases labels Dec 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CherryPickApproved Used during the release process for point releases FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

2 participants