Review Request 113484: Don't crash when downloading .tar.7z files with KNS

Commit Hook null at kde.org
Tue Oct 29 10:10:36 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113484/#review42607
-----------------------------------------------------------


This review has been submitted with commit 145ccc8a0b084257058d00a501c80067c7f99714 by José Manuel Santamaría Lema to branch KDE/4.11.

- Commit Hook


On Oct. 28, 2013, 7:33 p.m., José Manuel  Santamaría Lema wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113484/
> -----------------------------------------------------------
> 
> (Updated Oct. 28, 2013, 7:33 p.m.)
> 
> 
> Review request for KDE Edu.
> 
> 
> Repository: parley
> 
> 
> Description
> -------
> 
> Hello,
> 
> I got crash when I tried to download and install *.tar.7z file from KNS, specifically this one:
> http://opendesktop.org/content/show.php?content=124830
> 
> If I just download it manually, uncompress the *.tar.7z file and feed the kvtml file into parley it doesn't crash.
> 
> There are 2 separate problems involved here:
> 1) KNS doesn't work with *.tar.7z files.
> 2) Even if the the file format of the file downloaded from KNS isn't recognized for now, parley shouldn't crash.
> 
> The patch in this reviewboard is intended to fix the problem 2) and it was made with help from Aleix Pol (thanks!).
> 
> Just in case you are curious about the problem 1) - the related code from kdelibs is the following:
> 
> * knewstuff/knewstuff3/core/installation.cpp - function Installation::installDownloadedFileAndUncompress
> Here knewstuff tries to use KTar to deal with the downloaded file.
> 
> * files under kdecore/compression/*
> Here is kfilterdev, if I'm not mistaken this is what KTar uses to deal with files compressed gz,bzip,etc. The thing is: there is no filter for *.7z files, so that's why they can't work in KNS right now.
> 
> 
> Diffs
> -----
> 
>   src/parleydocument.cpp ceb5db2 
> 
> Diff: http://git.reviewboard.kde.org/r/113484/diff/
> 
> 
> Testing
> -------
> 
> I have opened various local files and some others from GHNS, it seems the patch works for me.
> 
> 
> Thanks,
> 
> José Manuel  Santamaría Lema
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20131029/c686c4c2/attachment.html>


More information about the kde-edu mailing list