2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/fs/squashfs
Phillip Lougher e0d1f70010 squashfs: fix potential buffer over-run on 4K block file systems
Sizing the buffer based on block size is incorrect, leading
to a potential buffer over-run on 4K block size file systems
(because the metadata block size is always 8K).  This bug
doesn't seem have triggered because 4K block size file systems
are not default, and also because metadata blocks after
compression tend to be less than 4K.

Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
2010-04-25 02:09:05 +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 decompressor entries for lzma and lzo 2010-01-20 21:47:48 +00: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: factor out remaining zlib dependencies into separate wrapper file 2010-01-20 21:47:47 +00:00
Kconfig fs/Kconfig: move squashfs out 2009-01-22 13:15:58 +03:00
Makefile Squashfs: add a decompressor framework 2010-01-20 21:47:47 +00:00
namei.c Squashfs: factor out remaining zlib dependencies into separate wrapper file 2010-01-20 21:47:47 +00:00
squashfs_fs_i.h Squashfs: header files 2009-01-05 08:46:27 +00:00
squashfs_fs_sb.h Squashfs: get rid of obsolete variable in struct squashfs_sb_info 2010-03-05 15:35:20 +00:00
squashfs_fs.h Squashfs: get rid of obsolete definition in header file 2010-03-05 15:35:35 +00:00
squashfs.h Squashfs: add a decompressor framework 2010-01-20 21:47:47 +00:00
super.c squashfs: add missing buffer free 2010-04-25 02:09:05 +01:00
symlink.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
zlib_wrapper.c squashfs: fix locking bug in zlib wrapper 2010-04-23 02:54:54 +01:00