[coreboot-gerrit] Patch merged into coreboot/master: 13515d1 util/cbfstool: Make cbfs_image_delete() NULL-tolerant.

gerrit at coreboot.org gerrit at coreboot.org
Mon Apr 7 18:34:40 CEST 2014


the following patch was just integrated into master:
commit 13515d15ba2842f33948b312e87e7ae292287951
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Sun Mar 9 00:05:18 2014 +1100

    util/cbfstool: Make cbfs_image_delete() NULL-tolerant.
    
    This fixes a double free crash that occurs when a call to
    cbfs_image_from_file() fails in cbfs_extract() and falls though to
    cbfs_image_delete() with a NULL-pointer.
    
    To reproduce the crash pass the following arguments where the files
    passed, in fact, do not exist. As follows:
    ./cbfstool build/coreboot.rom extract -n config -f /tmp/config.txt
    
    Change-Id: I2213ff175d0703705a0ec10271b30bb26b6f8d0a
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>


See http://review.coreboot.org/5353 for details.

-gerrit



More information about the coreboot-gerrit mailing list