D20643: Fix invalid memory write on malformed tar files
Albert Astals Cid
noreply at phabricator.kde.org
Wed Apr 17 19:52:03 BST 2019
aacid created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
aacid requested review of this revision.
REVISION SUMMARY
If the file says it has a longlink of more than int_max bytes, the resize would do nothing (since casting to int means a negative number) and we'd try writing on a bytearray of size 0
REPOSITORY
R243 KArchive
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D20643
AFFECTED FILES
src/ktar.cpp
To: aacid
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190417/a14af2a2/attachment.html>
More information about the Kde-frameworks-devel
mailing list