602b3965ae31b1cf16e67de9e9484e8b486fc499
Ini::parse split the value using delimiter + 1, assuming the delimiter occupies a single byte. With a multi-byte UTF-8 delimiter this offset lands inside the delimiter character, and slicing the string there panics. Advance by the delimiter's actual UTF-8 length instead.
Description
My contributions to QEDK/configparser-rs: 3 commits, 1 merged PRs
118 KiB
0 Stars
1 Watchers
0 Forks
Languages
Rust
100%