Endian bug in KNetwork::KIpAddress

Nadeem Hasan nhasan at nadmm.com
Sat Jul 22 13:36:26 BST 2006


On Saturday 22 July 2006 04:50, you wrote:
> Calling ntohl should be preferred in the isClass* functions, since it
> wouldn't change the address data, that other sections of code must be
> using already.
>
> I have no development environment here either. I cannot do any changes.

Ok...I have a near blind patch attached. It compiles, but I cannot verify that 
it actually works (though it should). I would really like this fix to get 
into 3.5.4 so If someone can give me a green light, I will commit.

Regards.
-- 
Nadeem Hasan (nhasan-at-nadmm.com)
GPG Fingerprint: 7141 0B1C 9CAF 624D 307F F8EF 6C0C 753E DD3A 0F53
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ksocketaddress.diff
Type: text/x-diff
Size: 2190 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060722/6669f372/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060722/6669f372/attachment.sig>


More information about the kde-core-devel mailing list