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

Panic with Stream Writer #677

Closed
me4log opened this issue Jul 31, 2020 · 2 comments
Closed

Panic with Stream Writer #677

me4log opened this issue Jul 31, 2020 · 2 comments
Assignees

Comments

@me4log
Copy link

me4log commented Jul 31, 2020

stream.go line 368 writeCell func, stringToBytes return incorrect slice, with zero capacity, but containing data and xml.EscapeText panic.

Why stringToBytes use unsafe, rather then []byte(string)? Simple replacement do it code working
Снимок экрана 2020-07-31 в 21 02 15

@undom
Copy link

undom commented Aug 3, 2020

same issues
I found its only happends when go build with arg:
-gcflag “-N”

#679

@xuri xuri self-assigned this Aug 3, 2020
@me4log
Copy link
Author

me4log commented Aug 3, 2020

Yes, goland compile with -gcflags "all=-N -l"

@xuri xuri closed this as completed in 843bd24 Aug 6, 2020
nullfy pushed a commit to nullfy/excelize that referenced this issue Oct 23, 2020
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

No branches or pull requests

3 participants