On Windows operating systems, a buffer overflow can occur when `libpcap` converts a Windows error message to UTF-8 if the message contains characters requiring 4 bytes in UTF-8 representation. The function `utf 16le to utf 8 truncated()` may write data beyond the allocated buffer size in such cases.