Review Request 124818: Fix update-mime-database crash.

Kevin Funk kfunk at kde.org
Sun Aug 23 16:33:02 UTC 2015


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

Ship it!


Ship It!

- Kevin Funk


On Aug. 23, 2015, 4:11 p.m., Gleb Popov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124818/
> -----------------------------------------------------------
> 
> (Updated Aug. 23, 2015, 4:11 p.m.)
> 
> 
> Review request for kdewin.
> 
> 
> Repository: emerge
> 
> 
> Description
> -------
> 
> VS was picking wrong function types for opendir/readdir because there was no prototypes for them in dirent.h, which lead to crash.
> The second crash was due to writing 8-byte intptr_t value returned by _findfirst() into a 4-byte long variable.
> No idea how it was working before.
> 
> 
> Diffs
> -----
> 
>   portage/win32libs/shared-mime-info/dirent.h b98296a 
>   portage/win32libs/shared-mime-info/dirent.c 2ca945a 
> 
> Diff: https://git.reviewboard.kde.org/r/124818/diff/
> 
> 
> Testing
> -------
> 
> Running `update-mime-database KDevelop/share/mime` does not crash now.
> 
> 
> Thanks,
> 
> Gleb Popov
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20150823/d38b15e6/attachment.html>


More information about the Kde-windows mailing list