[Top][All Lists]

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

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

From: Tristan Gingold
Subject: [bug-gnu-libiconv] bug: infinite loop in loop_wchar.h:wchar_to_loop_convert
Date: Tue, 7 Jul 2009 14:08:20 +0200


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.

Feel free to ask details if you need.

Tristan (not on the mailing list).

reply via email to

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