[coreboot-gerrit] Patch merged into coreboot/master: stddef.h: fix zeroptr's definition

gerrit at coreboot.org gerrit at coreboot.org
Fri Apr 15 16:19:01 CEST 2016


the following patch was just integrated into master:
commit c42b7864851040b2ec19adc93f8635bcaf1e652b
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Wed Apr 13 18:51:12 2016 +0200

    stddef.h: fix zeroptr's definition
    
    As Aaron pointed out, the old definition made the compiler emit two
    memory accesses, to 0 (for derefencing) and then reading at whatever
    address could be read from there.
    
    Change-Id: I5cdd53f5bd2d2397c43f09f3e5fa46be08744b01
    Found-by: Aaron Durbin <adurbin at chromium.org>
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Reviewed-on: https://review.coreboot.org/14342
    Tested-by: build bot (Jenkins)
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>


See https://review.coreboot.org/14342 for details.

-gerrit



More information about the coreboot-gerrit mailing list