[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: Bug#33544: kmail crashes Konqueror during "Compact All Folders"
From:       Michael =?iso-8859-1?q?H=E4ckel?= <haeckel () kde ! org>
Date:       2001-10-21 7:53:15
[Download RAW message or body]

On Sunday 21 October 2001 03:47, Stan Mulder wrote:
>
> This is what I've got in the Backtrace window after kmail locked up
> konqueror, then issuing a "kill -6 <konq pid>:
>
> #6  0x408173c9 in QClipboardWatcher::getDataInFormat ()
>    from /usr/lib/qt-2.3.1/lib/libqt.so.2

This in indeed the well known bug in Qt, that causes sometimes freezes. This 
finally has been fixed in Qt 3 you however can't use together with a stable 
version of KDE yet.

> I notice strcpy. I haven't programmed in a while, but isn't everybody
> switching to strncpy to avoid potential buffer overflows?

Well, I can't tell you from the backtrace, where this function is called.
At least in KDE we anyway usually use more save data types like QString where 
you simply can do:
QString astring, bstring, cstring;
astring = "hello.";
bstring = astring;
cstring = astring + " " + bstring;

Regards,
Michael Haeckel


_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic