-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/text/cmd/gotext: panic when do extract #62697
Labels
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Comments
The same error happens when calling |
@gopherbot add needsFix |
mauri870
added a commit
to mauri870/text
that referenced
this issue
Sep 18, 2023
If extract or rewrite are called with no arguments it results in a segmentation fault, since we dereference the out flag that was not defined for these commands. Fixes golang/go#62697
Change https://go.dev/cl/529255 mentions this issue: |
mauri870
added a commit
to mauri870/text
that referenced
this issue
Sep 19, 2023
If extract or rewrite are called with no arguments it results in a segmentation fault, since we dereference the out flag that is not defined for these commands. Fixes golang/go#62697
Looks like a duplicate of #60555 |
I don't think they are the same, this issue is related with parsing the command line flags of gotext. |
This is still present in gotext as v0.15.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
extract message correctly.
What did you see instead?
go install golang.org/x/text/cmd/[email protected]
it seems like
out
was not init when doingextract
commandThe text was updated successfully, but these errors were encountered: