[Bugs] [Bug 1129939] NetBSD port

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 27 12:32:53 UTC 2015


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



--- Comment #320 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10394 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 464d0d15328bd54173b367953ba9ee58d697afe5
Author: Emmanuel Dreyfus <manu at netbsd.org>
Date:   Mon Apr 27 06:32:40 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.

    BUG: 1129939
    Change-Id: I5837ad6ca06fa17cc7ab143eedd02d8099ecca2a
    Signed-off-by: Emmanuel Dreyfus <manu at netbsd.org>
    Reviewed-on: http://review.gluster.org/10394
    Tested-by: NetBSD Build System
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

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


More information about the Bugs mailing list