[Bugs] [Bug 1350789] Buffer overflow when attempting to create filesystem using libgfapi as driver on OpenStack

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 4 13:24:10 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14821 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit 4063e5763df30e3b5c7d553fcdfe1bab3830cee1
Author: Jiffin Tony Thottan <jthottan at redhat.com>
Date:   Thu Jun 23 12:20:03 2016 +0530

    gfapi : check the value "iovec" in glfs_io_async_cbk only for read

    The glfs_io_async_cbk() is called from the cbk of all the async ops
    such as write, read, fsync, ftruncate. In all other cases, expect for
    read the value for "iovec" is NULL. From the code, glfs_io_async_cbk
    checks the value in common routine which may end up in failures.

    Thanks Joe Julian for finding issue and suggesting the fix.

    Upstream reference
    >Change-Id: I0be0123da68f9d8fbb5d94ede2d45566a9add6a5
    >BUG: 1349276
    >Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
    >Reported-by: Joe Julian <me at joejulian.name>
    >Reviewed-on: http://review.gluster.org/14779
    >Reviewed-by: Niels de Vos <ndevos at redhat.com>
    >Smoke: Gluster Build System <jenkins at build.gluster.org>
    >Tested-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    >NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    >CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    >Reviewed-by: Joe Julian <me at joejulian.name>
    >(cherry picked from commit 61d72b3d91f2655b04de4ef29262f738a8cf7369)

    Change-Id: I0be0123da68f9d8fbb5d94ede2d45566a9add6a5
    BUG: 1350789
    Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
    Reported-by: Joe Julian <me at joejulian.name>
    Reviewed-on: http://review.gluster.org/14821
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Poornima G <pgurusid at redhat.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>

-- 
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=ZHFIuw5V2i&a=cc_unsubscribe


More information about the Bugs mailing list