android_kernel_xiaomi_sm8350/fs/ocfs2
Joel Becker 1fc8a11786 ocfs2: Don't walk off the end of fast symlinks.
ocfs2 fast symlinks are NUL terminated strings stored inline in the
inode data area.  However, disk corruption or a local attacker could, in
theory, remove that NUL.  Because we're using strlen() (my fault,
introduced in a731d1 when removing vfs_follow_link()), we could walk off
the end of that string.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Cc: stable@kernel.org
2010-09-29 17:33:05 -07:00
..
cluster ocfs2/net: fix uninitialized ret in o2net_send_message_vec() 2010-09-18 08:48:54 -07:00
dlm o2dlm: force free mles during dlm exit 2010-09-23 14:16:53 -07:00
dlmfs Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2010-08-10 11:26:52 -07:00
acl.c ocfs2: update ctime when changing the file's permission by setfacl 2010-09-23 14:16:21 -07:00
acl.h
alloc.c ocfs2: Fix deadlock when allocating page 2010-09-08 14:25:57 +08:00
alloc.h
aops.c
aops.h
blockcheck.c ocfs2: Fix metaecc error messages 2010-09-08 14:25:53 +08:00
blockcheck.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c Ocfs2: Re-access the journal after ocfs2_insert_extent() in dxdir codes. 2010-09-10 09:19:11 -07:00
dir.h
dlmglue.c
dlmglue.h ocfs2: Fix lockdep warning in reflink. 2010-09-10 09:19:06 -07:00
export.c
export.h
extent_map.c
extent_map.h
file.c Ocfs2: Fix a regression bug from mainline commit(6b933c8e6f). 2010-09-08 14:25:57 +08:00
file.h
heartbeat.c
heartbeat.h
inode.c ocfs2: Fix incorrect checksum validation error 2010-09-08 14:25:54 +08:00
inode.h
ioctl.c
ioctl.h
journal.c
journal.h
Kconfig
localalloc.c
localalloc.h
locks.c
locks.h
Makefile
mmap.c ocfs2: make __ocfs2_page_mkwrite handle file end properly. 2010-09-08 14:25:55 +08:00
mmap.h
namei.c ocfs2: Fix orphan add in ocfs2_create_inode_in_orphan 2010-09-08 14:26:00 +08:00
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: Sync inode flags with ext2. 2010-09-23 14:16:49 -07:00
ocfs2_ioctl.h ocfs2: Sync inode flags with ext2. 2010-09-23 14:16:49 -07:00
ocfs2_lockid.h
ocfs2_lockingver.h
ocfs2.h
quota_global.c
quota_local.c
quota.h
refcounttree.c ocfs2: Fix lockdep warning in reflink. 2010-09-10 09:19:06 -07:00
refcounttree.h
reservations.c ocfs2: Move 'wanted' into parens of ocfs2_resmap_resv_bits. 2010-09-23 14:16:47 -07:00
reservations.h
resize.c
resize.h
slot_map.c
slot_map.h
stack_o2cb.c
stack_user.c
stackglue.c
stackglue.h
suballoc.c ocfs2: Use cpu_to_le16 for e_leaf_clusters in ocfs2_bg_discontig_add_extent. 2010-09-23 14:16:34 -07:00
suballoc.h ocfs2: allow return of new inode block location before allocation of the inode 2010-09-08 14:25:59 +08:00
super.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2010-08-10 11:26:52 -07:00
super.h
symlink.c ocfs2: Don't walk off the end of fast symlinks. 2010-09-29 17:33:05 -07:00
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
xattr.c ocfs2/lockdep: Move ip_xattr_sem out of ocfs2_xattr_get_nolock. 2010-09-10 09:19:05 -07:00
xattr.h