Review Request 120023: Fix crash in unit test when run with ASAN

Milian Wolff mail at milianw.de
Sun Aug 31 17:08:28 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120023/#review65607
-----------------------------------------------------------



src/k7zip.cpp
<https://git.reviewboard.kde.org/r/120023/#comment45855>

    Ok, I'm not affiliated to this project just got interested by the ASAN in the review title ;-)
    
    Ignore this at will. Though the maintainer of this code I'd urge to rewrite it to use sizeof(quint64) and c++ casts instead.


- Milian Wolff


On Aug. 31, 2014, 2:46 p.m., Albert Astals Cid wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120023/
> -----------------------------------------------------------
> 
> (Updated Aug. 31, 2014, 2:46 p.m.)
> 
> 
> Review request for KDE Frameworks, Mario Bensi and Mathieu Tarral.
> 
> 
> Repository: karchive
> 
> 
> Description
> -------
> 
> Without this patch when running karchivetest with asan I get http://paste.kde.org/p3unh9jzk
> 
> Discovered in conjunction with Mathieu Tarral
> 
> 
> Diffs
> -----
> 
>   src/k7zip.cpp 4a88453 
> 
> Diff: https://git.reviewboard.kde.org/r/120023/diff/
> 
> 
> Testing
> -------
> 
> Test now passes
> 
> 
> Thanks,
> 
> Albert Astals Cid
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140831/e1b26a95/attachment.html>


More information about the Kde-frameworks-devel mailing list