[Bug 250060] New: crash when timezone is empty

Simon Bühler simon at aktionspotential.de
Fri Sep 3 17:51:45 BST 2010


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

           Summary: crash when timezone is empty
           Product: kdepimlibs
           Version: SVN trunk
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: kabc
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: simon at aktionspotential.de


Version:           SVN trunk (using Devel) 
OS:                Linux

hi,

i get crashes in kdepimlibs/kabc/vcardtool.cpp line 612 when a empty timezone
(e.g. for a contact ) is getting parsed a null exception is triggererd:

#5  0x00007ffff41da193 in qt_assert (assertion=0x7ffff6d7c79a "i >= 0 && i <
size()", file=0x7ffff6d7c9f8 "/usr/include/qt4/QtCore/qstring.h", line=690) at
global/qglobal.cpp:2013
#6  0x00007ffff6d35d90 in QString::operator[] (this=0x7fffe5e6ea00, i=0) at
/usr/include/qt4/QtCore/qstring.h:690
#7  0x00007ffff6d6af96 in KABC::VCardTool::parseVCards (this=0x7fffe5e6f1e0,
vcard=<value optimized out>) at
/var/tmp/portage/kde-base/kdepimlibs-4.4.9999/work/kdepimlibs-4.4.9999/kabc/vcardtool.cpp:612
#8  0x00007ffff6d5e5bf in KABC::VCardConverter::parseVCards (this=<value
optimized out>, vcard=...) at
/var/tmp/portage/kde-base/kdepimlibs-4.4.9999/work/kdepimlibs-4.4.9999/kabc/vcardconverter.cpp:61
#9  0x00007ffff6d5e5f1 in KABC::VCardConverter::parseVCard (this=0x429f,
vcard=...) at
/var/tmp/portage/kde-base/kdepimlibs-4.4.9999/work/kdepimlibs-4.4.9999/kabc/vcardconverter.cpp:52
#10 0x000000000041e71e in ContactsSource::insertItem (this=0x6c6400, item=...)
at /home/user/akunambol-0.2/syncsource/contactssource.cpp:119


akunambol(17051) KDELog::printLine: 18:36:54 DEBUG TZ;VALUE=text:



Reproducible: Always

-- 
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 Kdepim-bugs mailing list