[Bugs] [Bug 1099645] Unchecked strcpy and strcat in gf-history-changelog.c

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 28 09:09:41 UTC 2014


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



--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8977 committed in master by Venky Shankar
(vshankar at redhat.com) 
------
commit 4d3c6d93d1c75696987f262cf5a304b3038bc585
Author: Niels de Vos <ndevos at redhat.com>
Date:   Mon Oct 27 10:28:55 2014 +0100

    changelog: replace MAKE_HTIME_FILE_PATH with snprintf()

    The used once MAKE_HTIME_FILE_PATH macro uses strcpy and strcat into a
    fixed buffer without checking the input lengths.

    Recommend replacing with a snprintf.

    Change-Id: Ia0245096774dc84be1b937e1d5750f3634fff034
    BUG: 1099645
    Reported-by: Keith Schincke <kschinck at redhat.com>
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/8977
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Venky Shankar <vshankar at redhat.com>
    Tested-by: Venky Shankar <vshankar 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=d7L8D31K5n&a=cc_unsubscribe


More information about the Bugs mailing list