mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] squashfs-add-more-sanity-checks-in-inode-lookup-v2.patch removed from -mm tree
@ 2021-02-09 21:28 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-02-09 21:28 UTC (permalink / raw)
  To: mm-commits, phillip


The patch titled
     Subject: Squashfs: add more sanity checks in inode lookup
has been removed from the -mm tree.  Its filename was
     squashfs-add-more-sanity-checks-in-inode-lookup-v2.patch

This patch was dropped because it was folded into squashfs-add-more-sanity-checks-in-inode-lookup.patch

------------------------------------------------------
From: Phillip Lougher <phillip@squashfs.org.uk>
Subject: Squashfs: add more sanity checks in inode lookup

fix checkpatch issue

Link: https://lkml.kernel.org/r/527909353.754618.1612769948607@webmail.123-reg.co.uk
Reported-by: syzbot+04419e3ff19d2970ea28@syzkaller.appspotmail.com
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/squashfs/export.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/squashfs/export.c~squashfs-add-more-sanity-checks-in-inode-lookup-v2
+++ a/fs/squashfs/export.c
@@ -47,7 +47,7 @@ static long long squashfs_inode_lookup(s
 
 	TRACE("Entered squashfs_inode_lookup, inode_number = %d\n", ino_num);
 
-	if(ino_num == 0 || (ino_num - 1) >= msblk->inodes)
+	if (ino_num == 0 || (ino_num - 1) >= msblk->inodes)
 		return -EINVAL;
 
 	start = le64_to_cpu(msblk->inode_lookup_table[blk]);
_

Patches currently in -mm which might be from phillip@squashfs.org.uk are

squashfs-avoid-out-of-bounds-writes-in-decompressors.patch
squashfs-add-more-sanity-checks-in-id-lookup.patch
squashfs-add-more-sanity-checks-in-inode-lookup.patch
squashfs-add-more-sanity-checks-in-xattr-id-lookup.patch
squashfs-add-more-sanity-checks-in-xattr-id-lookup-v2.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-09 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 21:28 [folded-merged] squashfs-add-more-sanity-checks-in-inode-lookup-v2.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).