diff options
author | Phillip Lougher <phillip@lougher.demon.co.uk> | 2010-08-05 04:51:50 +0100 |
---|---|---|
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | 2010-08-05 04:51:50 +0100 |
commit | f3065f60ddfd4b5e34a412851d91d0cf27cdbf7e (patch) | |
tree | 08d77b60ee6ffa601d230d4b978a3dad03d8bd7c /init/do_mounts.c | |
parent | 79cb8ced7eef53856b5a877db0544acf52e00c80 (diff) | |
download | kernel_samsung_crespo-f3065f60ddfd4b5e34a412851d91d0cf27cdbf7e.zip kernel_samsung_crespo-f3065f60ddfd4b5e34a412851d91d0cf27cdbf7e.tar.gz kernel_samsung_crespo-f3065f60ddfd4b5e34a412851d91d0cf27cdbf7e.tar.bz2 |
Squashfs: fix block size use in LZO decompressor
Sizing the buffer using block size alone is incorrect leading
to a potential buffer over-run on 4K block size file systems
(because the metadata block size is always 8K). Srclength is
set to the maximum expected size of the decompressed block and
it is block_size or 8K depending on whether a data or metadata
block is being decompressed.
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions