[kopete-bugs] [Bug 202746] New: invalid xml data in contactlist.xml

Manuel Amador (Rudd-O) rudd-o at rudd-o.com
Thu Aug 6 06:06:08 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=202746

           Summary: invalid xml data in contactlist.xml
           Product: kopete
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kopete-bugs at kde.org
        ReportedBy: rudd-o at rudd-o.com


Version:            (using KDE 4.3.0)
Installed from:    Fedora RPMs

icq f*cks up the contactlist.xml, rendering it unreadable by XML file
processors (discovered it with beagle):

        <plugin-contact-data plugin-id="ICQProtocol" >
            <plugin-data-field key="accountId" >471881</plugin-data-field>
            <plugin-data-field key="contactId" >210468856</plugin-data-field>
            <plugin-data-field key="displayName" >gplhost</plugin-data-field>
            <plugin-data-field key="prop_QByteArray_iconHash" >0��^C
����S��G^B�</plugin-data-field>
            <plugin-data-field key="prop_QString_firstName"
>thomas</plugin-data-field>
            <plugin-data-field key="prop_QString_lastName"
>goirand</plugin-data-field>
            <plugin-data-field key="prop_QString_nickName"
>gplhost</plugin-data-field>
            <plugin-data-field key="prop_QString_photo"
>/home/rudd-o/.kde/share/apps/kopete/avatars/Contacts/ICQProtocol/471881/2$
            <plugin-data-field key="ssi_alias" ></plugin-data-field>
            <plugin-data-field key="ssi_bid" >24</plugin-data-field>
            <plugin-data-field key="ssi_gid" >3</plugin-data-field>
            <plugin-data-field key="ssi_metaInfoId"
>6cbbddd8e10141f199fdeb3982913e6b</plugin-data-field>
            <plugin-data-field key="ssi_name" >210468856</plugin-data-field>
            <plugin-data-field key="ssi_type" >0</plugin-data-field>
            <plugin-data-field key="ssi_waitingAuth" >false</plugin-data-field>
        </plugin-contact-data>


See the iconhash property of the ICQ plugin?

It's just nonsense with non-UTF8 characters.

This, of course, ought to be fixed and -- in fact -- kopete should be audited
to prevent this from happening.  Preferably by making the XML serializer *fail*
when consumers of the library try to do this nonsense.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list