Re: [gnet] gnet_base64_encode version 2.0.5



On Sunday 24 October 2004 08:22, Aldian wrote:

> The 2.0.5's gnet_base64_encode function is buggy. Has
> anybody fixed it?
>
> I encoded "A\x84\0", the result was "QIQA". That
> result was incorrect. The correct result is "QYQA"

This should be fixed in CVS now (right shifting the signed bit of an unsigned 
integer is apparently non-determinant).

Cheers 
-Tim



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