Suspicious code in kdebase 3.5.2
ismail at pardus.org.tr
Sat Apr 8 09:43:15 BST 2006
Cumartesi 8 Nisan 2006 11:21 tarihinde, Christoph Bartoschek şunları yazmıştı:
> - kwin/utils.cpp:313
> !(*dot = 0) is always true and therefore unneccessary. Or do you mean
> !(*dot ==0)?
> - kdesu/kdesud/lexer.cpp:46
> This while(1) loop can be executed at most once.
> - konsole/konsole/BlockArray.cpp:214
> The buffer allocated at line 209 is leaked. Why do not use std::array<char>
> - kcontrol/fonts/kxftconfig.cpp:1137
> Dirs is always true and therefore && Dirs is not neccessary. Maybe &
> Dirs is meant?
Indeed, Dirs is an enum anyway. Fixed.
> - kcontrol/crypto/crypto.cpp:1980
> cr is allocated with operator new use delete 
Thanks for checking!
<Terwou> \\o \o> <o/ o//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: not available
More information about the kde-core-devel