This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18830] New: iconv -c -f ascii with >buffer size worth of input before invalid input drops valid char


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

            Bug ID: 18830
           Summary: iconv -c -f ascii with >buffer size worth of input
                    before invalid input drops valid char
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: ben at 0x539 dot de
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

example:

$ (head -c 32768 /dev/zero ; printf 'abc\377def') | iconv -c -f ascii

prints one iconv_prog buffer worth of 0-bytes, then just 'bcdef', the 'a' right
after the boundary is missing.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]