[coreboot-gerrit] Patch merged into coreboot/master: b4ad5d0 drivers/xgi: Avoid double-free

gerrit at coreboot.org gerrit at coreboot.org
Mon Feb 23 20:33:42 CET 2015


the following patch was just integrated into master:
commit b4ad5d0a93e60e887bcda9819597954e72115272
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Sun Feb 22 16:13:57 2015 +0100

    drivers/xgi: Avoid double-free
    
    xgifb_probe() doesn't own the object it tries to free
    in its error code path, potentially leading to a
    double-free in xgi_z9s_init().
    
    Since we don't actually implement free, it doesn't matter
    too much, but let's keep things proper.
    
    Change-Id: I70c8f395fd59584664040ca6e07be56e046c80fc
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
    Found-by: Coverity Scan
    Reviewed-on: http://review.coreboot.org/8506
    Reviewed-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
    Tested-by: build bot (Jenkins)


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

-gerrit



More information about the coreboot-gerrit mailing list