[Bugs] [Bug 1212676] NetBSD port

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 27 12:33:02 UTC 2015


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



--- Comment #16 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10395 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit ed96153b8a2586ccf00885ed73836921e26e5837
Author: Emmanuel Dreyfus <manu at netbsd.org>
Date:   Mon Apr 27 06:37:01 2015 +0200

    tier: fix off-by-one overrun in UUID string

    UUID strings are UUID_CANONICAL_FORM_LEN (36) bytes long
    plus the trailing nul character that various function (e.g.:
    uuid_unparse) will add. As a consequence, UUID strings must
    be declared as UUID_CANONICAL_FORM_LEN+1 long, otherwise
    we get a off-by-one overrun that corrupts the next variable
    on stack.

    Backport of: I5837ad6ca06fa17cc7ab143eedd02d8099ecca2a

    BUG: 1212676
    Change-Id: I27bd223bdd72cda679b7cdc861e09e0f367bd6e4
    Signed-off-by: Emmanuel Dreyfus <manu at netbsd.org>
    Reviewed-on: http://review.gluster.org/10395
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Dan Lambright <dlambrig 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=MR94s4ehZZ&a=cc_unsubscribe


More information about the Bugs mailing list