Null pointer dereference in projectmanager

Manuel Breugelmans mbr.nxi at gmail.com
Sat Aug 23 10:10:26 UTC 2008


Hi,


The projectmanager crashes on empty projects. See patch for a fix. I doubt this 
introduce any regressions, right? Is it the right fix, or should this check 
have happened somewhere higher up? 

[ Going through the list since there's zilch auto-verification in there ]


Manuel

----------------------

Steps to reproduce:
1/ import project -> kdevelop/buildtools/cmake/tests/manual/empty
2/ insert some character in CMakeLists.txt
3/ save
4/ null pointer dereference in Project::reloadModel()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: projectNullDereference.patch
Type: text/x-patch
Size: 411 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080823/bab448bd/attachment.patch>


More information about the KDevelop-devel mailing list