From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web10.310.1659110066788030352 for ; Fri, 29 Jul 2022 08:54:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZuCmXtK8; spf=pass (domain: gmail.com, ip: 209.85.167.45, mailfrom: savvamtr@gmail.com) Received: by mail-lf1-f45.google.com with SMTP id t17so7996642lfk.0 for ; Fri, 29 Jul 2022 08:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HkBn7wNzDzQEMg8Gw/LdLb9bqAsc3bkvTrQHlmK8m+k=; b=ZuCmXtK896/dA73fRKhGrmMZd4XSs2nmV/uvyIyVO+r9LgvtjUDPE8XHf+qoiYYLaV U5Ce7Gz7+rQQXbB1W2kbfTReeHx0VBypJso6K01QiEb1TGq/GCjevsOC5ktky66ifvY1 5Q2iKakT6lMi4rDrVqo+IaAiCNyvU9ZGyA45fqL+ze0yiaHIHrX1QYL5nCIuHGx+uEC+ ky7H+poRhLBl2WjqY2lsSN8gfbNlXaHTfQ8LO2f7TORYXtpdzk+eoLtpQAJyDScsb/Rd TOWvbDrB7/09VGIPjt8oy+xjVXqzr7HwRtG4N3eJWT91C4vDO57R7rMOXcF+PxQm9nfN WP+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HkBn7wNzDzQEMg8Gw/LdLb9bqAsc3bkvTrQHlmK8m+k=; b=XHN1b+T5Gx7Oe5WAGTmS29woJbxIhL8k3GquR8QSmQ164evlFKSKWAY2ngz0+QklhD lzTiQnJAuF4QB6Mrwlmu1lj0AQR3/LtEkOzPwu0S/hE6T3qrlE+fGG3dsNZX2f4XQLCK HJ5DcnZwteGMA+ABux+EZ7X11Un1mv6L44hzXKixo2vP/RB0sGn6DWojLfksMzkBhCuM xM3rulFba/XpgTlVfITscOpTPyakPYw9YDhp8qEHM+xly3HzPP6U38nw0P6zl+RWQpzc wCHH6KmiRUtVVodXRb2zwCuFuCgfBvbGqe/YSdYfRRwGvHK1qqtEkZFnhL53hrijMJJr vGsw== X-Gm-Message-State: AJIora/21as6rxoS6Lvcypq63xDxQM9uiJXuWM7MaTc3Z2SaL9fLjs+Y 71S5UYGDnB9kAjtRnromHYyNgwYtwZ4QnZib02o= X-Google-Smtp-Source: AGRyM1ti5gWX5qXJTROu2gzR9JzsiMcPsIEWmR/gJE/MpouTzKC7XRH7sPc+DiVv1Ac2tFglacEGAw== X-Received: by 2002:a05:6512:4dd:b0:48a:a01b:887c with SMTP id w29-20020a05651204dd00b0048aa01b887cmr1388953lfq.686.1659110064424; Fri, 29 Jul 2022 08:54:24 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([207.180.219.167]) by smtp.gmail.com with ESMTPSA id g25-20020a2eb5d9000000b0025e4342f96esm34333ljn.127.2022.07.29.08.54.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Jul 2022 08:54:23 -0700 (PDT) From: "Savva Mitrofanov" To: devel@edk2.groups.io Cc: =?UTF-8?q?Marvin=20H=C3=A4user?= , Pedro Falcato , Vitaly Cheptsov Subject: [edk2-platforms][PATCH v3 0/1] Ext4Pkg: Code correctness and security improvements Date: Fri, 29 Jul 2022 21:54:16 +0600 Message-Id: <20220729155417.17255-1-savvamtr@gmail.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi all, This is the third version of patch in which I correct commit message and added some code-style corrections into conditions with bit operations. REF: https://github.com/savvamitrofanov/edk2-platforms/commits/ext4pkg_security_improvements Cc: Marvin Häuser Cc: Pedro Falcato Cc: Vitaly Cheptsov Savva Mitrofanov (1): Ext4Pkg: Code correctness and security improvements Features/Ext4Pkg/Ext4Dxe/Ext4Disk.h | 3 +- Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h | 2 +- Features/Ext4Pkg/Ext4Dxe/BlockGroup.c | 4 +-- Features/Ext4Pkg/Ext4Dxe/BlockMap.c | 18 ++++++++---- Features/Ext4Pkg/Ext4Dxe/Directory.c | 29 ++------------------ Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.c | 10 ++++--- Features/Ext4Pkg/Ext4Dxe/Extents.c | 8 ++++-- Features/Ext4Pkg/Ext4Dxe/Inode.c | 10 +++---- Features/Ext4Pkg/Ext4Dxe/Superblock.c | 15 +++++----- 9 files changed, 44 insertions(+), 55 deletions(-) -- 2.37.1