[coreboot-gerrit] Patch merged into coreboot/master: libpayload: Check for CBFS_DEFAULT_MEDIA in cbfs_get_file_content()

gerrit at coreboot.org gerrit at coreboot.org
Mon Oct 5 15:23:58 CET 2015


the following patch was just integrated into master:
commit bda38eece8e90562aabf74b3be8663f02167a600
Author: Nico Huber <nico.huber at secunet.com>
Date:   Mon Oct 5 12:08:24 2015 +0200

    libpayload: Check for CBFS_DEFAULT_MEDIA in cbfs_get_file_content()
    
    The error-prone interface of cbfs_get_file_content() led to another
    possible NULL dereferencing. So check for CBFS_DEFAULT_MEDIA here
    like the other functions do.
    
    Change-Id: Ib8732160d389e9ecceb44f28be0e7de9a1d66e04
    Signed-off-by: Nico Huber <nico.huber at secunet.com>
    Reviewed-on: http://review.coreboot.org/11796
    Tested-by: build bot (Jenkins)
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>


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

-gerrit



More information about the coreboot-gerrit mailing list