D20844: KTar::KTarPrivate::readLonglink: Fix crash in malformed files

Albert Astals Cid noreply at phabricator.kde.org
Fri Apr 26 14:54:41 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
  QByteArray::resize doesn't work for std::numeric_limits<int>::max()
  https://bugreports.qt.io/browse/QTBUG-75470
  rumour is that it only works up to 2^31 but since there's no define or
  similar better just use plain old new[]/delete[]
  
  oss-fuzz #14397

REPOSITORY
  R243 KArchive

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D20844

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/20190426/6e64fe4d/attachment.html>


More information about the Kde-frameworks-devel mailing list