D18562: Determine isDirectory by "Folder = " field in 7z plugin

Elvis Angelaccio noreply at phabricator.kde.org
Sun Feb 10 18:08:19 GMT 2019


elvisangelaccio added inline comments.

INLINE COMMENTS

> cliplugin.cpp:238
>                  if (!directoryName.endsWith(QLatin1Char('/'))) {
>                      const bool isPasswordProtected = (line.at(12) == QLatin1Char('+'));
>                      m_currentArchiveEntry->setProperty("fullPath", QString(directoryName + QLatin1Char('/')));

This will crash if `line` is equal to `Folder = +`.

REPOSITORY
  R36 Ark

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

To: gepardo
Cc: elvisangelaccio, kde-utils-devel, #ark, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20190210/22921800/attachment.html>


More information about the Kde-utils-devel mailing list