Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7100835rwl; Fri, 30 Dec 2022 03:41:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXsyjsD850NG/FJqbQJXF7b4NjCusTSCMTRIgeNfFHYnNjVpKA/B+Skv3uF9VJ5fCebS4N3S X-Received: by 2002:a17:906:5e04:b0:7c0:e803:4ebb with SMTP id n4-20020a1709065e0400b007c0e8034ebbmr25901375eju.70.1672400512911; Fri, 30 Dec 2022 03:41:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672400512; cv=none; d=google.com; s=arc-20160816; b=zl5Ddu55G7sbWg2DQ3QNe11+LX0Y4YVfJd6fks67s9wv+28TzfdcKxj1fXl9CkCI2z T1WMAcwOUJMCJZLLnsdKOYG6yakXZuN/bqhg2/QWaPEe6E3ddcdnJQXS3cQIJ/EcU9qX k09nScln1WgdY1J80wYSx6hKbj4h0oFP+h2Cw+oXTiARp8hsrQURQ4WFGpOzoyvKvDcz s9cJXe8R4QishvBQQavL1RmfX5CTekMKoH6cWMao8qHhU+7ZEhNxE9N91InGhozHazj/ RpG7gmZ4knfTp8LWRk6w+4+zgApS9ofk4LtZs9+KMxleu2JxXtzJmN4fYEK0fT+ymqoL wriA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=kP3p0IoMx80T17qzhnWU9PKl5JGLg67woKpu7rEhMmc=; b=sZfGePEn+FbrQOxmmaixDLXkK05sg83svBynJPb9DwuaTanx4xynGSNljQg1z3bbmr EFmBmzujNmQVWVP8J1oeEB7K978HFeNeXEzl+pX8mOpAVL4OCidxrWaNrlj3ync5Gxtx jwKehTXaMiishyHch7BOtpqjCTR7cxDtc0aoaMMf8T+KEEVU5ZVkIr0vrEJ95j7EJbka FRzbN5FXxB9PprvUmR40QTZxA3VZNsYy/nrE8ZwLYmM02Yv9i2Yi4gpMp0uTNXNjXs67 dZzgo8qrsjjDLa1i4qNisgKTqBuj0bcHuUHh3BwwO3i9ltGBph3Lw0JM8FaRxtYB4unL l4ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=CJ4gVNh0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di8-20020a170906730800b0078de536a3cdsi19262798ejc.119.2022.12.30.03.41.38; Fri, 30 Dec 2022 03:41:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=CJ4gVNh0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234719AbiL3LXK (ORCPT + 63 others); Fri, 30 Dec 2022 06:23:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230250AbiL3LXI (ORCPT ); Fri, 30 Dec 2022 06:23:08 -0500 Received: from relayaws-01.paragon-software.com (relayaws-01.paragon-software.com [35.157.23.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB18E1A046; Fri, 30 Dec 2022 03:23:07 -0800 (PST) Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id 121FD20EE; Fri, 30 Dec 2022 11:19:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1672399173; bh=kP3p0IoMx80T17qzhnWU9PKl5JGLg67woKpu7rEhMmc=; h=Date:To:CC:From:Subject; b=CJ4gVNh0O4UUY+5ERNg+11nhkKZjGEqv9wR/7zghoNf0tn44DTmX9RAsSpa2BE5KO vUU1yozoCH0Gm6ltvVmjizQd0VQQJy4FKZ0aQP5KbybUziwjfASyJnqxyweucbWBjf hNeUFtchLJzfsmna803ccgqaVFcFzRu8yz2a1qIo= Received: from [192.168.211.146] (192.168.211.146) by vdlg-exch-02.paragon-software.com (172.30.1.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 30 Dec 2022 14:23:05 +0300 Message-ID: Date: Fri, 30 Dec 2022 15:23:04 +0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US To: CC: , From: Konstantin Komarov Subject: [PATCH 0/5] fs/ntfs3: Refactoring and bugfix Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [192.168.211.146] X-ClientProxiedBy: vobn-exch-01.paragon-software.com (172.30.72.13) To vdlg-exch-02.paragon-software.com (172.30.1.105) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series contains various fixes and refactoring for ntfs3. Konstantin Komarov (5):   fs/ntfs3: Add null pointer checks   fs/ntfs3: Improved checking of attribute's name length   fs/ntfs3: Check for extremely large size of $AttrDef   fs/ntfs3: Restore overflow checking for attr size in mi_enum_attr   fs/ntfs3: Refactoring of various minor issues  fs/ntfs3/bitmap.c  |  3 ++-  fs/ntfs3/frecord.c |  2 +-  fs/ntfs3/fsntfs.c  | 22 ++++++++++++++--------  fs/ntfs3/index.c   | 10 ++++++----  fs/ntfs3/inode.c   |  8 +++++++-  fs/ntfs3/namei.c   |  2 +-  fs/ntfs3/ntfs.h    |  3 ---  fs/ntfs3/record.c  |  5 +++++  fs/ntfs3/super.c   | 10 +++++++++-  9 files changed, 45 insertions(+), 20 deletions(-) -- 2.34.1