https://bugs.kde.org/show_bug.cgi?id=466241

            Bug ID: 466241
           Summary: Crash on invalid symbolic link
    Classification: Applications
           Product: kdiff3
           Version: 1.10.0
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: reeves...@gmail.com
          Reporter: pa.sowa....@gmail.com
  Target Milestone: ---

SUMMARY
The application crashes when an invalid symbolic link is encountered.

STEPS TO REPRODUCE
1. Create test dirs/files
```
mkdir dir_a dir_b
ln -s non_existing dir_b/bad_link
```
2.  Run: `kdiff3 dir_a dir_b`

OBSERVED RESULT
The application crashes with the message:
kdiff3: ./src/fileaccess.cpp:762: QDateTime FileAccess::lastModified() const:
Assertion `!m_modificationTime.isNull()' failed.

EXPECTED RESULT
The application should not crash when an invalid symbolic link is encountered.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to