Re: [PATCHv2] si2157: Bounds check firmware
Reviewed-by: Olli SalonenTested-by: Olli Salonen On 6 October 2015 at 01:33, Laura Abbott wrote: > > When reading the firmware and sending commands, the length > must be bounds checked to avoid overrunning the size of the
[PATCHv2] si2157: Bounds check firmware
When reading the firmware and sending commands, the length must be bounds checked to avoid overrunning the size of the command buffer and smashing the stack if the firmware is not in the expected format. Add the proper check. Cc: sta...@kernel.org Signed-off-by: Laura Abbott