[Bug manual/10460] "iconv" corrupts all files over 17 KB from UTF8 to UTF16

neleai at seznam dot cz sourceware-bugzilla@sourceware.org
Sun Oct 20 21:22:00 GMT 2013


https://sourceware.org/bugzilla/show_bug.cgi?id=10460

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |neleai at seznam dot cz
           Severity|normal                      |enhancement

--- Comment #7 from Ondrej Bilka <neleai at seznam dot cz> ---
This asks for new functionality, easiest way to resolve this is write a patch
yourself. 

Relevant part is  iconv/iconv_prog.c around line 300. One solution would be
that if input is same as output first load entire input file to memory and
proceed like in mmap case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list