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 locale/19519] New: iconv(1) hangs on illegal sequences with "christmas" flags


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

            Bug ID: 19519
           Summary: iconv(1) hangs on illegal sequences with "christmas"
                    flags
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: jengelh at inai dot de
  Target Milestone: ---

In glibc 2.19 and glibc 2.22, I observe that combining //translit with //ignore
with -c with an unconvertible sequence will hang the iconv program. The order
of //translit and //ignore is significant. The target charset is of no
significance; it could also be -t utf-8//translit//ignore.

 echo -en '\x80' | iconv -f us-ascii -t us-ascii//translit//ignore -c

-- 
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]