diff options
author | Matthew Garrett <mjg59@srcf.ucam.org> | 2008-06-06 12:35:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-06-11 17:06:33 -0700 |
commit | 62b5884875fcd4babf6c0c377046f226abbfe491 (patch) | |
tree | e0aa7d2f40ef390403bfc7258199fe7b7cca399b /arch/arm | |
parent | 6460a261b5893e769a314c246faec31bbc4aad9c (diff) |
isight_firmware: Avoid crash on loading invalid firmware
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 <mjg@redhat.com>
Report-by: Justin Mattock <justinmattock@gmail.com>
Tested-by: Justin Mattock <justinmattock@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions