Commit Graph
6 Commits
Author SHA1 Message Date
dualfroz 798326082f feat: add get_section to return a section's keys and values 2026-10-02 16:29:46 +02:00
upstream 98b4971587 Upstream QEDK/configparser-rs state of the touched files before c14b35b3b5 2026-10-02 16:29:46 +02:00
dualfroz 71e7f66418 fix: avoid panic when parsing with a multi-byte delimiter
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.
2026-09-04 09:28:35 +02:00
upstream eca6be7adc Upstream QEDK/configparser-rs state of the touched files before 44edcb4f15 2026-09-04 09:28:35 +02:00
dualfroz 602b3965ae fix: avoid panic when parsing with a multi-byte delimiter
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.
2026-09-06 16:49:10 +02:00
upstream 8cb9cc4c65 Upstream QEDK/configparser-rs state of the touched files before 5ca2a5b537 2026-09-04 09:28:35 +02:00