-
Notifications
You must be signed in to change notification settings - Fork 18k
x/text: panic in language.ParseAcceptLanguage while processing bcp47 tag #42536
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
Comments
Hmm...Gobot not working |
@mengzhuo thanks for mailing the fix! To get gobot to attach to the proper issue, for any repo that isn’t the main Go repository, please use this format: |
Change https://golang.org/cl/270697 mentions this issue: |
@odeke-em it works, thanks for the info. |
CVE-2020-28852 appears to have been assigned for this issue. |
It looks like the fix isn't in a "released" version yet (https://github.com/golang/text/releases/tag/v0.3.4 looks like the latest release and that's from before the fix went in). Is that accurate? How do I get the fixed code? |
This is fixed in the just-released v0.3.5. Sorry for the delayed tagging. |
golang/go#42536 Signed-off-by: Natanael Copa <ncopa@mirantis.com>
golang/go#42536 Signed-off-by: Natanael Copa <ncopa@mirantis.com>
golang/go#42536 Signed-off-by: Natanael Copa <ncopa@mirantis.com>
golang/go#42536 Signed-off-by: Natanael Copa <ncopa@mirantis.com>
golang/go#42536 Signed-off-by: Natanael Copa <ncopa@mirantis.com>
Fixes golang/go#42536 Change-Id: I572cdbb26d320c4d9a972d555ddc6427ce1f0348 Reviewed-on: https://go-review.googlesource.com/c/text/+/270697 Run-TryBot: Meng Zhuo <mzh@golangcn.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Marcel van Lohuizen <mpvl@golang.org> Trust: Meng Zhuo <mzh@golangcn.org>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/SwAU9tKYRsj
What did you expect to see?
Error via return value
What did you see instead?
The text was updated successfully, but these errors were encountered: