[Top][All Lists]

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

Re: [PATCH] infinite loop converting to UCS2

From: Pawel Kot
Subject: Re: [PATCH] infinite loop converting to UCS2
Date: Thu, 28 Jul 2005 01:31:12 +0200


2005/7/27, Bastien Nocera <address@hidden>:
> There's an infinite loop in char_ucs2_encode(), it doesn't exit when
> reaching the null-character at the end of the string. It could also lead
> to memory corruption, and eventually crashes.

That's right. but why not make it case 0: in the switch?

take care,
Pawel Kot

reply via email to

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