[Bugs] [Bug 1430360] glusterfsd segfault in trash_truncate_stat_cbk

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 8 13:21:08 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1430360

Jeff Darcy <jdarcy at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jdarcy at redhat.com



--- Comment #1 from Jeff Darcy <jdarcy at redhat.com> ---
The immediate problem seems to be that trash_truncate_stat_cbk assumes
local->loc.path will be non-NULL, but that's not entirely guaranteed to be the
case.  In general, a loc_t can be used to resolve an inode in several ways,
only some (and the less preferred ones at that) involving the path/name fields.
 Adding a NULL check should help, but it might also be interesting to find out
why we're being called this way in case there are other implications of
something the code clearly does not expect.

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


More information about the Bugs mailing list