Tomas Winkler 3aef021b2d mei: limit number of bytes in mei header.
The MEI message header provides only 9 bits for storing
the message size, limiting to 511.
In theory the host buffer (hbuf) can contain up to 1020 bytes
(limited by byte =  255 * 4)
With the current hardware and hbuf size 512, this is not a real issue,
but as hardening approach we enforce the limit.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20200211160522.7562-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-11 14:03:19 -08:00
..
2020-01-10 13:20:49 +01:00
2020-01-24 09:33:58 +01:00
2020-02-11 14:03:19 -08:00
2019-11-07 09:35:49 +01:00
2019-04-25 19:33:34 +02:00
2020-01-24 09:33:58 +01:00