[Skiboot] [PATCH v2 1/2] vpd: Sanitize VPD data

Stewart Smith stewart at linux.ibm.com
Thu Jun 28 14:02:01 AEST 2018


Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:
> On OpenPower system, VPD keyword size tells us the maximum size of the data.
> But they fill trailing end with space (0x20) instead of NULL. Also spec
> doesn't stop user to have space (0x20) within actual data.
>
> This patch discards trailing spaces before populating device tree.
>
> Reported-by: Pridhiviraj Paidipeddi <ppaidipe at linux.vnet.ibm.com>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

Thanks, series merged to master as of
861350941f9a3fb76ebcae3e5a32b3cbec929d03
(with a make check fix)

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list