Re: [PATCH v4] firmware: google: check if size is valid when decoding VPD data

2019-08-30 Thread Guenter Roeck
On Fri, Aug 30, 2019 at 10:23:58AM +0800, Hung-Te Lin wrote: > The VPD implementation from Chromium Vital Product Data project used to > parse data from untrusted input without checking if the meta data is > invalid or corrupted. For example, the size from decoded content may > be negative value, o

Re: [PATCH v4] firmware: google: check if size is valid when decoding VPD data

2019-08-29 Thread Stephen Boyd
Quoting Hung-Te Lin (2019-08-29 19:23:58) > The VPD implementation from Chromium Vital Product Data project used to > parse data from untrusted input without checking if the meta data is > invalid or corrupted. For example, the size from decoded content may > be negative value, or larger than whole