Bug 80884

Summary: kdevelop crashes when readign a project directory with unreadable subdirectory
Product: [Applications] kdevelop Reporter: Frank Sonntag <f.sonntag>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 3.0.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Frank Sonntag 2004-05-04 10:51:11 UTC
Version:           3.0.1 (using KDE KDE 3.2.2KDE 1.2)
Installed from:    00SuSE RPMs

When scanning a directory that contains a subdirectory that can not be read, kdevelop crashes.
This problem exists in:
buildtools/ant/antprojectpart.cpp
buildtools/custommakefiles/customprojectpart.cpp
buildtools/pascal/pascalproject_part.cpp
buildtools/script/scriptprojectpart.cpp

proposed fix
in method
XXX::populateProject
add 
if (dirEntries==0)
    continue;
after
const QFileInfoList *dirEntries = dir.entryInfoList();
Comment 1 Amilcar do Carmo Lucas 2004-05-04 10:58:20 UTC
I think this was solved in 3.0.3, but i canot test rigth now.
Comment 2 Frank Sonntag 2004-05-04 11:02:37 UTC
You're right, sorry. It was reported as 75943 and fixed in 3.0.3
Dont't know why I did'nt see it, when I tried to check wheter the bug had already been reported
Comment 3 Amilcar do Carmo Lucas 2004-05-04 11:23:42 UTC

*** This bug has been marked as a duplicate of 75943 ***