diff options
author | Matthew Garrett <[email protected]> | 2008-06-06 12:35:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2008-06-11 17:06:33 -0700 |
commit | 62b5884875fcd4babf6c0c377046f226abbfe491 (patch) | |
tree | e0aa7d2f40ef390403bfc7258199fe7b7cca399b /fs/jbd2/commit.c | |
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 <[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]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions