linux/fs/squashfs
Phillip Lougher f3065f60dd 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>
2010-08-05 04:51:50 +01:00
..
block.c squashfs: fix potential buffer over-run on 4K block file systems 2010-04-25 02:09:05 +01:00
cache.c Squashfs: factor out remaining zlib dependencies into separate wrapper file 2010-01-20 21:47:47 +00:00
decompressor.c Squashfs: Add LZO compression support 2010-08-05 02:29:59 +01:00
decompressor.h Squashfs: add a decompressor framework 2010-01-20 21:47:47 +00:00
dir.c Squashfs: factor out remaining zlib dependencies into separate wrapper file 2010-01-20 21:47:47 +00:00
export.c Squashfs: factor out remaining zlib dependencies into separate wrapper file 2010-01-20 21:47:47 +00:00
file.c Squashfs: factor out remaining zlib dependencies into separate wrapper file 2010-01-20 21:47:47 +00:00
fragment.c Squashfs: factor out remaining zlib dependencies into separate wrapper file 2010-01-20 21:47:47 +00:00
id.c Squashfs: factor out remaining zlib dependencies into separate wrapper file 2010-01-20 21:47:47 +00:00
inode.c squashfs: add xattr support configure option 2010-05-17 19:54:07 +01:00
Kconfig Squashfs: Add LZO compression support 2010-08-05 02:29:59 +01:00
lzo_wrapper.c Squashfs: fix block size use in LZO decompressor 2010-08-05 04:51:50 +01:00
Makefile Squashfs: Add LZO compression support 2010-08-05 02:29:59 +01:00
namei.c squashfs: add xattr support configure option 2010-05-17 19:54:07 +01:00
squashfs_fs_i.h squashfs: add support for xattr reading 2010-05-17 19:54:06 +01:00
squashfs_fs_sb.h squashfs: add xattr id support 2010-05-17 19:54:05 +01:00
squashfs_fs.h squashfs: add new extended inode types 2010-05-17 19:54:06 +01:00
squashfs.h Squashfs: Add LZO compression support 2010-08-05 02:29:59 +01:00
super.c squashfs: add xattr support configure option 2010-05-17 19:54:07 +01:00
symlink.c squashfs: add xattr support configure option 2010-05-17 19:54:07 +01:00
xattr_id.c squashfs: xattr_lookup sparse fix 2010-05-17 20:02:03 +01:00
xattr.c squashfs: fix filename in header comment 2010-05-31 18:50:22 +01:00
xattr.h Squashfs: Make XATTR config name consistent with other file systems 2010-05-31 18:46:29 +01:00
zlib_wrapper.c squashfs: fix locking bug in zlib wrapper 2010-04-23 02:54:54 +01:00