[Bugs] [Bug 1599788] _is_prefix should return false for 0-length strings

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 17 05:34:51 UTC 2018


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

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20492 committed in release-3.12 by "jiffin
tony Thottan" <jthottan at redhat.com> with a commit message- glusterd: _is_prefix
should handle 0-length paths

If one of the paths given to _is_prefix is 0-length, then it is not a
prefix of the other. Hence, _is_prefix should return false.

Change-Id: I54aa577a64a58940ec91872d0d74dc19cff9106d
BUG: 1599788
Signed-off-by: Kaushal M <kaushal at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=LtktCZUYRw&a=cc_unsubscribe


More information about the Bugs mailing list