Review Request 129733: KSycoca: don't follow symlink to directories, it creates a risk of recursion
René J.V. Bertin
rjvbertin at gmail.com
Mon Jan 2 20:34:09 UTC 2017
> On Jan. 2, 2017, 9:29 p.m., René J.V. Bertin wrote:
> > Ship It!
Oops, I was too fast.
David, on a whim I just tried
```
sudo ln -s ../../.. /opt/local/share/applications/kde4/testlink
```
which is the exact same kind of tarpit situation that got me the other day. Your patch doesn't protect against it.
- René J.V.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129733/#review101740
-----------------------------------------------------------
On Dec. 31, 2016, 2:06 p.m., David Faure wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129733/
> -----------------------------------------------------------
>
> (Updated Dec. 31, 2016, 2:06 p.m.)
>
>
> Review request for KDE Frameworks, Albert Astals Cid and René J.V. Bertin.
>
>
> Repository: kservice
>
>
> Description
> -------
>
> Symlinks to (desktop) files are still supported.
>
>
> Diffs
> -----
>
> autotests/ksycocatest.cpp 4564ee6750a80a109492c197c83944e129dcabac
> src/sycoca/ksycocautils_p.h f144a80ea6d845ed5eaff41689756b30f17d9391
>
> Diff: https://git.reviewboard.kde.org/r/129733/diff/
>
>
> Testing
> -------
>
> Added unittest (which failed before the fix, passes after the fix)
>
>
> Thanks,
>
> David Faure
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170102/37772962/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list