In some occassions KArchive::findOrCreate calls itself to find the parent KArchiveDirectory
Since KArchive::findOrCreate can return null we have to take into account parent can be null.
In some occassions KArchive::findOrCreate calls itself to find the parent KArchiveDirectory
Since KArchive::findOrCreate can return null we have to take into account parent can be null.
Crashy .zip doesn't crash anymore
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Do we want a lot of crashy/broken files on the source code repo? Honestly i'm not sure it's worth it given that oss-fuzz will just make sure we don't regress.
oss-fuzz runs automatically daily (or twice daily not sure). "Public" (i.e. discovered and more than 90 days ago) can be seen at https://bugs.chromium.org/p/oss-fuzz/issues/list?q=kimageformats (there's none so old, oldest unfixed is 2019-01-29).
If anyone wants to see the "quarentined" (i.e. not so old bugs) please contact the KDE security team and let's discuss it.