Open cppcoffee opened 1 year ago
This looks like a libxlsxwriter issue. It checks that the number of characters is less than the Excel 255 limit (which it is) but uses a 255 8-bit char buffer instead of a 255 UTF-8 char buffer. Hence the overwrite and crash.
I'll fix it upstream. Tracking at https://github.com/jmcnamara/libxlsxwriter/issues/394
Fixed upstream on libxlsxwriter main.
Wow, that's great!
Reproduced rust source code.
main.rs
crash after running
cargo run
.crash message:
maybe 2007 xlsx limit 255 chars?