[Skiboot] [PATCH v2 1/2] vpd: Sanitize VPD data
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
(with a make check fix)
OPAL Architect, IBM.
More information about the Skiboot