[coreboot-gerrit] Patch merged into coreboot/master: lzma: Return correct amount of decompressed bytes

gerrit at coreboot.org gerrit at coreboot.org
Mon Jul 6 09:40:41 CEST 2015


the following patch was just integrated into master:
commit d8086876a74743db2191a62c5a75e344c907143f
Author: Julius Werner <jwerner at chromium.org>
Date:   Thu Jun 25 23:22:36 2015 -0700

    lzma: Return correct amount of decompressed bytes
    
    The LZMA functions are supposed to return the decompressed size, but
    what they actually return is just an unaltered field from the LZMA
    header that is *supposed* to contain the decompressed size. Apparently
    some encoders just overshoot that for no good reason. This patch changes
    the code such that the actual amount of decompressed bytes is returned.
    
    BRANCH=smaug
    BUG=None
    TEST=Printed output bytes when decompressing kernels with LZMA in
    depthcharge, noted that amounts now make sense.
    
    Change-Id: Icdd8f782aa87841f770eff4c14a08973530c7446
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 24b2fa8c9a342ca4288dad1430c8965395f00263
    Original-Change-Id: Ib4cf8673846aedd34656e594ce7b8ea875b56099
    Original-Signed-off-by: Julius Werner <jwerner at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/282742
    Original-Reviewed-by: Stefan Reinauer <reinauer at google.com>
    Original-Reviewed-by: Patrick Georgi <pgeorgi at chromium.org>
    Reviewed-on: http://review.coreboot.org/10777
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


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

-gerrit



More information about the coreboot-gerrit mailing list