[coreboot] Patch merged into coreboot/master: 5a9f45c cbfstool: Prevent file name to be corrupted by basename().

gerrit at coreboot.org gerrit at coreboot.org
Wed Jan 30 03:07:34 CET 2013


the following patch was just integrated into master:
commit 5a9f45c757b48235d86018bee2d20f9e35d7e1d7
Author: Hung-Te Lin <hungte at chromium.org>
Date:   Mon Jan 28 23:42:25 2013 +0800

    cbfstool: Prevent file name to be corrupted by basename().
    
    Calling basename(3) may modify content. We should allocate another buffer to
    prevent corrupting input buffer (full file path names).
    
    Change-Id: Ib4827f887542596feef16e7829b00444220b9922
    Signed-off-by: Hung-Te Lin <hungte at chromium.org>
    Reviewed-on: http://review.coreboot.org/2203
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>

Build-Tested: build bot (Jenkins) at Tue Jan 29 17:53:09 2013, giving +1
Reviewed-By: Ronald G. Minnich <rminnich at gmail.com> at Tue Jan 29 17:50:13 2013, giving +2
Reviewed-By: Paul Menzel <paulepanter at users.sourceforge.net> at Tue Jan 29 19:16:44 2013, giving +2
See http://review.coreboot.org/2203 for details.

-gerrit



More information about the coreboot mailing list