Re: [PATCH v2] firmware: google: update vpd_decode from upstream

2019-08-29 Thread Greg Kroah-Hartman
On Thu, Aug 29, 2019 at 06:19:45PM +0800, Hung-Te Lin wrote: > The VPD implementation from Chromium Vital Product Data project used to > parse data from untrusted input without checking if there is invalid > data (for example the if the size becomes negative, or larger than whole > input buffer), w

[PATCH v2] firmware: google: update vpd_decode from upstream

2019-08-29 Thread Hung-Te Lin
The VPD implementation from Chromium Vital Product Data project used to parse data from untrusted input without checking if there is invalid data (for example the if the size becomes negative, or larger than whole input buffer), which may cause buffer overflow on corrupted data. To fix that, the u