[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] bug: infinite loop in loop_wchar.h:wchar_to_loop_

From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] bug: infinite loop in loop_wchar.h:wchar_to_loop_convert
Date: Wed, 8 Jul 2009 00:28:37 +0200
User-agent: KMail/1.9.9


Tristan Gingold wrote:
> while working on gdb, I found an infinite loop in libiconv:
> wchar_to_loop_convert is called with *inbytesleft = 1 and  
> unicode_loop_convert returns -1 + EINVAL.
> As a consequence *inbytesleft is never decreased and the function  
> loops forever.

Thank you for the report. I figured out a test case from your
description, and committed a fix here:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]