KBugBuster is back in business

Zack Rusin zack at kde.org
Mon Sep 23 01:15:07 BST 2002


On Sunday 22 September 2002 18:59, Ryan Cumming wrote:
> 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.

Thank you, thank you, thank you! :)

Zack

-- 
43rd Law of Computing: Anything that can go wr
fortune: Segmentation violation -- Core dumped





More information about the kde-core-devel mailing list