Bug 143575 - [Patch] converters/libiconv: Fix an endless loop in the conversion to wchar_t
Summary: [Patch] converters/libiconv: Fix an endless loop in the conversion to wchar_t
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
Depends on:
Reported: 2010-02-05 14:00 UTC by Natacha Porté
Modified: 2010-02-06 01:00 UTC (History)
0 users

See Also:

patch-endless-wchar_t-loop (995 bytes, text/plain)
2010-02-05 14:00 UTC, Natacha Porté
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Natacha Porté 2010-02-05 14:00:11 UTC
UTF-8 to wchar_t conversion of an input ending with an incomplete multibyte sequence triggered an endless loop.
newsbeuter triggered this bug quite often.

Fix: This has been fixed upstream:

The attached patch is a chopped out version of this commit, keeping the actual fix while leaving test, news and whatever looked like possibly troublesome to apply.
Comment 1 Edwin Groothuis freebsd_committer 2010-02-05 14:00:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-02-06 00:55:53 UTC
bland       2010-02-06 00:55:44 UTC

  FreeBSD ports repository

  Modified files:
    converters/libiconv  Makefile 
  Added files:
    converters/libiconv/files patch-endless-wchar_t-loop 
  Apply patch from the upstream to prevent endless loop triggered by
  incomplete UTF-8 sequence.
  PR:     143575
  Revision  Changes    Path
  1.53      +1 -0      ports/converters/libiconv/Makefile
  1.1       +32 -0     ports/converters/libiconv/files/patch-endless-wchar_t-loop (new)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alexander Nedotsukov freebsd_committer 2010-02-06 00:55:59 UTC
State Changed
From-To: open->closed

Committed, thanks!