mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
Different tools generate slightly different formats of the isight firmware. Ensure that the firmware buffer is not overrun, while still ensuring that the correct amount of data is written if trailing data is present. Signed-off-by: Matthew Garrett <[email protected]> Report-by: Justin Mattock <[email protected]> Tested-by: Justin Mattock <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>