[Bug locale/26224] New: iconv hangs when converting some invalid inputs from several IBM character sets

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug locale/26224] New: iconv hangs when converting some invalid inputs from several IBM character sets

Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26224

            Bug ID: 26224
           Summary: iconv hangs when converting some invalid inputs from
                    several IBM character sets
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: arjun.is at lostca dot se
  Target Milestone: ---

I found the following hangs when running an iconv input fuzzer I wrote while
trying to fix bug 19519. The hangs are present in master:

echo -en '\x00\x0f' | iconv -t UTF-8 -c -f IBM1364
echo -en '\x00\x0f' | iconv -t UTF-8 -c -f IBM1371
echo -en '\x00\x0f' | iconv -t UTF-8 -c -f IBM1388
echo -en '\x00\x0f' | iconv -t UTF-8 -c -f IBM1390
echo -en '\x00\x0f' | iconv -t UTF-8 -c -f IBM1399

These hangs are presently mentioned but commented out in
iconv/tst-iconv_prog.sh and should eventually be un-commented when this bug is
fixed.

The fuzzer itself (attachment 11786) should also be run against these character
sets after this bug is fixed, because they skip all remaining inputs for a
character set once they encounter a hang in the corresponding converter, and
thus any other hangs (from possibly other bugs) aren't tested for.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug locale/26224] iconv hangs when converting some invalid inputs from several IBM character sets

Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26224

Arjun Shankar <arjun.is at lostca dot se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |arjun.is at lostca dot se

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug locale/26224] iconv hangs when converting some invalid inputs from several IBM character sets

Sourceware - glibc-bugs mailing list
In reply to this post by Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26224

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security+
                 CC|                            |fweimer at redhat dot com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug locale/26224] iconv hangs when converting some invalid inputs from several IBM character sets

Sourceware - glibc-bugs mailing list
In reply to this post by Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26224

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=19519

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