[coreboot-gerrit] Patch merged into coreboot/master: lzma: Port size-checking ulzman() version to coreboot

gerrit at coreboot.org gerrit at coreboot.org
Fri Feb 12 22:01:07 CET 2016


the following patch was just integrated into master:
commit a25b5d257dbfbff808b19bf8c48565435e6bef9d
Author: Julius Werner <jwerner at chromium.org>
Date:   Mon Feb 8 11:46:22 2016 -0800

    lzma: Port size-checking ulzman() version to coreboot
    
    We've had a second version of ulzma() that would check the input and
    output buffer sizes in libpayload for a while now. Since it's generally
    never a bad idea to double-check for overruns, let's port it to coreboot
    and use it where applicable. (This requires a small fix in the four byte
    at a time read optimization we only have in coreboot, since it made the
    stream counter hit the end a little earlier than the algorithm liked and
    could trigger an assertion.)
    
    BRANCH=None
    BUG=None
    TEST=Booted Oak, Jerry and Falco.
    
    Change-Id: Id566b31dfa896ea1b991badf5a6ad9d075aef987
    Signed-off-by: Julius Werner <jwerner at chromium.org>
    Reviewed-on: https://review.coreboot.org/13637
    Tested-by: build bot (Jenkins)
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>


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

-gerrit



More information about the coreboot-gerrit mailing list