[Bugs] [Bug 1179175] gluster vol set testvol features.uss command accepts invalid random values

bugzilla at redhat.com bugzilla at redhat.com
Tue Jan 20 04:28:39 UTC 2015


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



--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9395 committed in master by Krishnan
Parthasarathi (kparthas at redhat.com) 
------
commit 1ee8ce725f0e70f45419aa0e2f4d85db7223d766
Author: GauravKumarGarg <ggarg at redhat.com>
Date:   Tue Jan 6 16:58:38 2015 +0530

    glusterd: option features.uss should accept only boolean value

    "features.uss" with a non-boolean value gets set in the volume option
    table because of which subsequent volume set operation fails since
    features.uss does not contain a valid boolean value.

    Fix is not to allow a non-boolean value to get set in the volume option
    table. "features.uss" option should have validation function "validate_uss"
    which validate the input value given by user.

    Change-Id: I4a212f876627a4979715183b0d488fd69095f193
    BUG: 1179175
    Signed-off-by: ggarg <ggarg at redhat.com>
    Reviewed-on: http://review.gluster.org/9395
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
    Tested-by: Krishnan Parthasarathi <kparthas 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=UNMtIP2aei&a=cc_unsubscribe


More information about the Bugs mailing list