Fix null-dereference on malformed tar files
ClosedPublic

Authored by aacid on Apr 16 2019, 4:11 PM.

Details

Summary

findOrCreate can return nullptr so fail if it does

oss-fuzz #14275

Diff Detail

Repository
R243 KArchive
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
aacid created this revision.Apr 16 2019, 4:11 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptApr 16 2019, 4:11 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
aacid requested review of this revision.Apr 16 2019, 4:11 PM
apol accepted this revision.Apr 16 2019, 5:57 PM
This revision is now accepted and ready to land.Apr 16 2019, 5:57 PM
This revision was automatically updated to reflect the committed changes.