From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mx.groups.io with SMTP id smtpd.web11.41660.1673481564433418667 for ; Wed, 11 Jan 2023 15:59:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GlgcNueA; spf=pass (domain: gmail.com, ip: 209.85.128.45, mailfrom: pedro.falcato@gmail.com) Received: by mail-wm1-f45.google.com with SMTP id ay12-20020a05600c1e0c00b003d9ea12bafcso10073766wmb.3 for ; Wed, 11 Jan 2023 15:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=trHN+nCsL9GFpp7GT+jx+gNs2HD+nO/waTAPXo7KqRQ=; b=GlgcNueAedkoi7dsoDATKOGR6NnaClKCEt/CyZeyRUAGYwnQBbvtyNTweRWm/K6PHi DWJYcITcrTuOnPg4XO0Do4Qvkvo2fZhZ9/l45+At/BaYtZAw7FGC1QMHz5cqoD/QcWob W7lkc4nOQfTmR75MCTcXfBqDZjr2wQX40EavxhsBsEZqH7MJqVLOJ3TqSoY/tzirjK8g fjkNBMeueluKMn4b4zrA6xhydL68sG8F3AsJoLeCluEZb9qLaPdYL1OAUhcu7kyhx/2K +rib2HcdyM0J2eVHzmFveVEYzBVCFE0H7a2V7k8rhBt277IN0lClp4PbBQ+3VNkddNS9 407w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=trHN+nCsL9GFpp7GT+jx+gNs2HD+nO/waTAPXo7KqRQ=; b=S4j2789S1c3uvEZwo4LCVQ4znn7D4DiZkMxtOYUl9ME7YEPe5GSuC5SDW0btnaLL1N Adg9W5BVDvIau6+SqRM/9KfjwIyU+9gV3eLyi/Bu1xhSL0Qy1QxhdwBqQVHT//c/Gavv yu/IhksBE68rz9WFyS5aDFG5iogkCB4Z+fo6lp/nbNSA8EcaN6gNMq5D/NsKIk27o0vC ZRJIIDu584jEI6gTVMELujfmDGpjw3Dr1BzM88Jen2UZUcCMnbNNUAegYRjVDkDmP+6x ruLqKIoQZ+DdfOia5KlU51QPkYf0CZOrj7nHu1AmUk0/amhZrphBlQsZErSdtEY7Gbc5 9GIQ== X-Gm-Message-State: AFqh2kr64V1S04bVr9Bn2Iwyou3prXoPrZ3ZJNeWwbhMdCAaLzUhCTPd zt8WCX2SsT7U4WYWOymCt5Ht2+VCDN+bYw== X-Google-Smtp-Source: AMrXdXvBkraiV5YRe163xgskWyD1aeRzmhuWZyBJorf+GH6wWy1b1mQ7qwI3HTCsDA7li9ISYgI3mQ== X-Received: by 2002:a05:600c:1e10:b0:3cf:973e:c874 with SMTP id ay16-20020a05600c1e1000b003cf973ec874mr54683850wmb.14.1673481562671; Wed, 11 Jan 2023 15:59:22 -0800 (PST) Return-Path: Received: from PC-PEDRO-ARCH.lan ([2001:8a0:7280:5801:9441:3dce:686c:bfc7]) by smtp.gmail.com with ESMTPSA id p21-20020a7bcc95000000b003c65c9a36dfsm19276102wma.48.2023.01.11.15.59.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 15:59:22 -0800 (PST) From: "Pedro Falcato" To: devel@edk2.groups.io Cc: Pedro Falcato , =?UTF-8?q?Marvin=20H=C3=A4user?= , Savva Mitrofanov Subject: [PATCH 0/3] Ext4Pkg: Small ext4 fixes and improvements Date: Wed, 11 Jan 2023 23:59:15 +0000 Message-Id: <20230111235920.252317-1-pedro.falcato@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch set includes small fixes on Ext4Dxe, including a fix for a (mostly-harmless) out-of-bounds. Previous versions of these patches were posted standalone before and are now being consolidated into a patch-set for easier reviewing. Cc: Marvin Häuser Cc: Savva Mitrofanov Pedro Falcato (3): Ext4Pkg: Fix out-of-bounds read in Ext4ReadDir Ext4Pkg: Add documentation surrounding ext4 directory entries Ext4Pkg: Fix and clarify handling regarding non-utf8 dir entries Features/Ext4Pkg/Ext4Dxe/Directory.c | 49 +++++++++++++++++++++------- Features/Ext4Pkg/Ext4Dxe/Ext4Disk.h | 21 ++++++++++-- Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h | 13 ++++---- 3 files changed, 62 insertions(+), 21 deletions(-) -- 2.39.0