CVE-2026-34542: Iccdev Getansisize Buffer Underallocationcve-2026-34542-iccdev-getansisize-buffer-underallocation
Calls to `GetAnsiSize` calculate string length based on wide-character counts rather than actual UTF-8 byte counts. This causes buffer under-allocations and out-of-bounds writes (such as stack buffer overflows) on non-Windows platforms. Use `GetUtf8Size` instead, which properly accounts for multi-byte lengths and null terminators.