hallas created this revision. hallas added a reviewer: Frameworks. Herald added projects: Dolphin, Frameworks. Herald added subscribers: kfm-devel, kde-frameworks-devel. hallas requested review of this revision.
REVISION SUMMARY Fixes pointer was allocated with malloc (by libssh) but freed with delete. This is not safe and causes undefined behavior. TEST PLAN Build and run kio_sftp with address sanitizer REPOSITORY R320 KIO Extras BRANCH fix_malloc_delete_mismatch (branched from master) REVISION DETAIL https://phabricator.kde.org/D19767 AFFECTED FILES sftp/kio_sftp.cpp To: hallas, #frameworks Cc: kde-frameworks-devel, kfm-devel, alexde, feverfew, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov