KBugBuster is back in business

Ryan Cumming ryan at completely.kicks-ass.org
Sun Sep 22 23:59:56 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On September 22, 2002 09:43, Zack Rusin wrote:
> It doesn't work for me. For some reason it gets a very weird response
> for package list and is unable to parse it. 
XmlBugJob::ioData() was append()ing the QByteArray it got from the KIO job to 
a QString. Unfortunately, QString interprets QByteArrays as C-style strings, 
and therefor was looking for a non-existant NULL terminator. The result was 
garbage from out-of-bounds memory being inserted in to the XML stream.

Fixed in HEAD, and I switched the whole thing to use QByteArray instead of 
QString internally to prevent future confusion.

- -Ryan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9jktwLGMzRzbJfbQRAnVwAJ4wwa6cZlthaYHHMwGu/tJJXiYjHwCgp+lf
cI5eGeH/Z0Ne3cFeL6US1dk=
=4SRT
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list