This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18830] New: iconv -c -f ascii with >buffer size worth of input before invalid input drops valid char
- From: "ben at 0x539 dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 14 Aug 2015 19:44:01 +0000
- Subject: [Bug libc/18830] New: iconv -c -f ascii with >buffer size worth of input before invalid input drops valid char
- Auto-submitted: auto-generated
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.