[Bug 80884] New: kdevelop crashes when readign a project directory with unreadable subdirectory

Frank Sonntag f.sonntag at zz9-plural-z-alpha.de
Tue May 4 10:52:02 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=80884      
           Summary: kdevelop crashes when readign a project directory with
                    unreadable subdirectory
           Product: kdevelop
           Version: 3.0.1
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: f.sonntag zz9-plural-z-alpha de


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();




More information about the KDevelop-devel mailing list