[Xfce-bugs] [Bug 14202] Crash in thunar_file_is_gfile_ancestor

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Feb 6 22:20:20 CET 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14202

alexxcons <acs82 at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |acs82 at gmx.de
           Assignee|xfce-bugs at xfce.org          |acs82 at gmx.de
             Status|NEW                         |ASSIGNED

--- Comment #4 from alexxcons <acs82 at gmx.de> ---
Created attachment 7587
  --> https://bugzilla.xfce.org/attachment.cgi?id=7587&action=edit
hardened thunar_file_is_gfile_ancestor

Thanks for reporting & for the coredump !

I failed to reproduce the bug myself  :X
However I hardened the faulty method (added a NULL check) and simplified the
loop a bit.

Could you take a try for the patch ? 
It's build against https://git.xfce.org/xfce/thunar/log/?h=xfce-4.12
You dont need to install it, sufficient to run it from build folder for
testing.

The method looks the same in thunar-master.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list