* [folded-merged] ntfs-fix-use-after-free-in-ntfs_ucsncmp-v3-checkpatch-fixes.patch removed from -mm tree
@ 2022-07-17 4:33 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-07-17 4:33 UTC (permalink / raw)
To: mm-commits, chenxiaosong2, akpm, akpm
The quilt patch titled
Subject: ntfs-fix-use-after-free-in-ntfs_ucsncmp-v3-checkpatch-fixes
has been removed from the -mm tree. Its filename was
ntfs-fix-use-after-free-in-ntfs_ucsncmp-v3-checkpatch-fixes.patch
This patch was dropped because it was folded into ntfs-fix-use-after-free-in-ntfs_ucsncmp.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: ntfs-fix-use-after-free-in-ntfs_ucsncmp-v3-checkpatch-fixes
Date: Mon Jul 11 01:42:02 PM PDT 2022
ERROR: code indent should use tabs where possible
#27: FILE: fs/ntfs/attrib.c:598:
+^I^I a->name_length * sizeof(ntfschar);$
total: 1 errors, 0 warnings, 8 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
NOTE: Whitespace errors detected.
You may wish to use scripts/cleanpatch or scripts/cleanfile
./patches/ntfs-fix-use-after-free-in-ntfs_ucsncmp-v3.patch has style problems, please review.
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: ChenXiaoSong <chenxiaosong2@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/ntfs/attrib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/ntfs/attrib.c~ntfs-fix-use-after-free-in-ntfs_ucsncmp-v3-checkpatch-fixes
+++ a/fs/ntfs/attrib.c
@@ -595,7 +595,7 @@ static int ntfs_attr_find(const ATTR_TYP
u8 *mrec_end = (u8 *)ctx->mrec +
le32_to_cpu(ctx->mrec->bytes_allocated);
u8 *name_end = (u8 *)a + le16_to_cpu(a->name_offset) +
- a->name_length * sizeof(ntfschar);
+ a->name_length * sizeof(ntfschar);
if ((u8*)a < (u8*)ctx->mrec || (u8*)a > mrec_end ||
name_end > mrec_end)
break;
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
ntfs-fix-use-after-free-in-ntfs_ucsncmp.patch
android-binder-stop-saving-a-pointer-to-the-vma-fix.patch
mm-drop-oom-code-from-exit_mmap-fix-fix.patch
mm-add-merging-after-mremap-resize-checkpatch-fixes.patch
mm-factor-helpers-for-memory_failure_dev_pagemap-fix.patch
xfs-support-cow-in-fsdax-mode-fix.patch
mm-thp-kill-transparent_hugepage_active-fix.patch
mm-thp-kill-transparent_hugepage_active-fix-fix.patch
mm-page_alloc-protect-pcp-lists-with-a-spinlock-fix.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-17 4:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-17 4:33 [folded-merged] ntfs-fix-use-after-free-in-ntfs_ucsncmp-v3-checkpatch-fixes.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.