Message ID | b06828df-f9b9-1c5d-d6db-05839bad7016@paragon-software.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2843994wrt; Fri, 30 Dec 2022 03:26:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXv77cJnjwJ4tfjAOmkwbO0/uS02sYNlNz7/mmA0OvEFLN8mWWZO/mOVbX5o4wh31C3uLkPb X-Received: by 2002:a17:902:a5c1:b0:189:62fd:140e with SMTP id t1-20020a170902a5c100b0018962fd140emr33411157plq.29.1672399567291; Fri, 30 Dec 2022 03:26:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672399567; cv=none; d=google.com; s=arc-20160816; b=oOK66vmXiyH7Qa41HDkNtDMk4gIj71dVmoEOCw+zI4YnLW4lMLeUzMtE7iltedUb2M ZiqJAQVnjbcseGHy4mEPly9IqJLbGO/c4QHDGE6peN8er5DXPP/utL7MsUiXv8sO0Rgu Sw8JPcYZEt8wzkXWub0CaWwZHgMtC9aw3ESGZyITw0YWd2eBDF4wT9dl1EhQ7p8l6vB4 QdK/bVNoCwvGI+ybvQ0ANAESfjzEX/zXfT5qFhk9mldyhzfOc0Cp9TArkk3E7qT61NXT lpJy0W7aPi8+GLBO4PiYzFsQrwxs6wCNVDnd5H64a+WlpUw/6KkHfg83fzLqQ4ifZ9js NRDA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm18-20020a656e92000000b0049876044bcesi14783665pgb.3.2022.12.30.03.25.55; Fri, 30 Dec 2022 03:26:07 -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 <rfc822;cscallsign@gmail.com> + 99 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 <rfc822;linux-kernel@vger.kernel.org>); 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: <b06828df-f9b9-1c5d-d6db-05839bad7016@paragon-software.com> 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: <ntfs3@lists.linux.dev> CC: <linux-kernel@vger.kernel.org>, <linux-fsdevel@vger.kernel.org> From: Konstantin Komarov <almaz.alexandrovich@paragon-software.com> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753638048624773864?= X-GMAIL-MSGID: =?utf-8?q?1753638048624773864?= |
Series |
fs/ntfs3: Refactoring and bugfix
|
|
Message
Konstantin Komarov
Dec. 30, 2022, 11:23 a.m. UTC
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(-)