News for hackers. Stuff that matters.
Re:Glibc Buffer Overflow in Iconv by frutiger on Sunday April 21, 2024 @02:03PM (#40107797)
You need to translate any text content into UTF-16 before calling Win32 APIs in most cases.
Re:Glibc Buffer Overflow in Iconv by Mindless2112 on Sunday April 21, 2024 @02:54PM (#40108198)
Re:Glibc Buffer Overflow in Iconv by bdd8f1df777b on Sunday April 21, 2024 @10:53PM (#40111077)
But if you are calling Win32 APIs, you can call Win32 APIs MultiByteToWideChar/WideCharToMultiByte to convert between UTF8 and UTF16. No need for iconv.
Re:Glibc Buffer Overflow in Iconv by frutiger on Monday April 22, 2024 @09:34AM (#40114201)
That’s right. I was just replying to parents poster that it’s not about text files.