[Differential] [Request, 16 lines] D3350: Stop crashing when lsar's output is too big

elvisangelaccio (Elvis Angelaccio) noreply at phabricator.kde.org
Sat Nov 12 17:51:31 UTC 2016


elvisangelaccio created this revision.
elvisangelaccio added a reviewer: rthomsen.
Restricted Application added a subscriber: kde-utils-devel.
Restricted Application added a project: Ark.

REVISION SUMMARY
  lsar can generate huge json output when listing big solid rar archives.
  This will be fixed in lsar, but meanwhile we can catch a bad_alloc if we're
  using an affected version of lsar.
  
  BUG: 372210
  FIXED-IN: 16.12.0

TEST PLAN
  Open the archive attached in the bug report with cliunarchiver and make sure
  Ark shows an error message instead of crashing.

REPOSITORY
  rARK Ark

BRANCH
  bad_alloc

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

AFFECTED FILES
  autotests/plugins/cliunarchiverplugin/CMakeLists.txt
  plugins/cliunarchiverplugin/CMakeLists.txt
  plugins/cliunarchiverplugin/cliplugin.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: elvisangelaccio, rthomsen
Cc: kde-utils-devel, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20161112/01ef24ea/attachment.html>


More information about the Kde-utils-devel mailing list