[coreboot-gerrit] Patch merged into coreboot/master: chromeos: vpd: properly null terminate values

gerrit at coreboot.org gerrit at coreboot.org
Tue Jun 23 08:21:03 CEST 2015


the following patch was just integrated into master:
commit 31f8a2fe74e4d622bbd1dbf5a603f739ccf71eb7
Author: Stephen Barber <smbarber at chromium.org>
Date:   Fri Jun 19 12:56:34 2015 -0700

    chromeos: vpd: properly null terminate values
    
    VPD strings are not null terminated, so we can't use strcpy
    on them in cros_vpd_gets.
    
    BUG=none
    BRANCH=none
    TEST=add serial_number followed by cam_calib_data to VPD on smaug;
    make sure that smaug boots and serial number matches exactly (no garbage)
    
    Change-Id: Id72885517b3d0b1934ba329c1ef0d89a67bd2bb4
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 56bbe6688b11043360a046a250d1ea93db4d9f0e
    Original-Change-Id: I811dfc2f0830a91410eb69961a6565080ff78267
    Original-Signed-off-by: Stephen Barber <smbarber at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/280836
    Original-Reviewed-by: David Hendricks <dhendrix at chromium.org>
    Original-Reviewed-by: Benson Leung <bleung at chromium.org>
    Reviewed-on: http://review.coreboot.org/10627
    Tested-by: build bot (Jenkins)
    Reviewed-by: Furquan Shaikh <furquan at google.com>
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>


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

-gerrit



More information about the coreboot-gerrit mailing list