[coreboot-gerrit] Patch merged into coreboot/master: util/romcc: avoid shifting more than the variable's width

gerrit at coreboot.org gerrit at coreboot.org
Fri Jan 6 18:40:09 CET 2017


the following patch was just integrated into master:
commit 766c3fec2d8cfc8d0d7bcfd94f98bace8d3309e9
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Mon Jan 2 18:47:50 2017 +0100

    util/romcc: avoid shifting more than the variable's width
    
    That's undefined behavior in C
    
    Change-Id: I671ed8abf02e57a7cc993d1a85354e905f51717d
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Found-by: Coverity Scan #1229557
    Reviewed-on: https://review.coreboot.org/18014
    Tested-by: build bot (Jenkins)
    Reviewed-by: Martin Roth <martinroth at google.com>


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

-gerrit



More information about the coreboot-gerrit mailing list