Package: dlume
Version: 0.2.4-10
Severity: critical
Justification: causes serious data loss
Dear Maintainer,
Ampersands, entered by the user in the contact fields, don't appear to be
encoded properly in the dlume-data.xml file.
Steps to reproduce:
1. Add a new contact. First name 'x', last name 'foo & bar'
2. Quit dlume
3. Start dlume
Expected:
Last name remains unchanged (foo & bar).
What happened instead:
* Quiting dlume gives this error:
"error : unterminated entity reference bar"
* dlume-data.xml contains:
<record>
<first_name>x</first_name>
<last_name/>
</record>
* After starting dlume again, the last name for that address is empty.
I tried entering the last name as 'foo & bar'.
dlume-data.xml then shows this after quiting dlume:
<record>
<first_name>X</first_name>
<last_name>foo & bar</last_name>
</record>
If you then start dlume again, the last name shows up as 'foo & bar' and
quiting dlume once more results in the loss of the last name.
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dlume depends on:
ii libc6 2.13-37
ii libglib2.0-0 2.33.12+really2.32.4-3
ii libgtk2.0-0 2.24.10-2
ii libpango1.0-0 1.30.0-1
ii libxml2 2.8.0+dfsg1-7
dlume recommends no packages.
dlume suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]