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

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 11 12:00:31 UTC 2018


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

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

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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20490 committed in master by "Kaushal M"
<kaushal 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
fixes: bz#1599783
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=IpexmEEJW3&a=cc_unsubscribe


More information about the Bugs mailing list