D21245: KAr::openArchive: Also check ar_longnamesIndex is not < 0

Adriaan de Groot noreply at phabricator.kde.org
Thu May 16 21:27:24 BST 2019


adridg accepted this revision.
adridg added a comment.
This revision is now accepted and ready to land.


  ar_longnamesIndex is used as an array-index into ar_longnames, which is new[]ed, so a negative index is UB. This patch voids that case.

REPOSITORY
  R243 KArchive

BRANCH
  master

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

To: aacid, adridg
Cc: adridg, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190516/0bdbe2a4/attachment.html>


More information about the Kde-frameworks-devel mailing list