<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2-platforms.git/Features/Ext4Pkg/Ext4Dxe/BlockMap.c, branch CodeCleanup</title>
<subtitle>EDK II sample platform branches and tags (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/atom?h=CodeCleanup'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/'/>
<updated>2023-01-26T18:08:57+00:00</updated>
<entry>
<title>Ext4Pkg: Fix typos discovered by SpellCheck</title>
<updated>2023-01-26T18:08:57+00:00</updated>
<author>
<name>Marvin Häuser</name>
<email>mhaeuser@posteo.de</email>
</author>
<published>2023-01-26T16:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=982212662c71b6c734b7578526071d6b78da3bcc'/>
<id>urn:sha1:982212662c71b6c734b7578526071d6b78da3bcc</id>
<content type='text'>
Fix typos discovered by SpellCheck, which were discovered as part of the
initial CI enablement effort.

Cc: Pedro Falcato &lt;pedro.falcato@gmail.com&gt;
Signed-off-by: Marvin Häuser &lt;mhaeuser@posteo.de&gt;
Reviewed-by: Pedro Falcato &lt;pedro.falcato@gmail.com&gt;
</content>
</entry>
<entry>
<title>Ext4Pkg: Code correctness and security improvements</title>
<updated>2022-08-06T23:24:07+00:00</updated>
<author>
<name>Savva Mitrofanov</name>
<email>savvamtr@gmail.com</email>
</author>
<published>2022-07-27T15:54:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=c367ec54f7bfce341732c6eb542809bcd77fc618'/>
<id>urn:sha1:c367ec54f7bfce341732c6eb542809bcd77fc618</id>
<content type='text'>
This changes tends to improve security of code sections by fixing
integer overflows, missing alignment checks, unsafe casts, also
simplified some routines, fixed compiler warnings and corrected some
code mistakes.

- Set HoleLen to UINT64 to prevent truncation in Ext4Read function
- Replace EXT4_BLOCK_NR with 32-bit EXT2_BLOCK_NR in BlockMap, because
by specification files using block maps must be placed within the first
2^32 blocks of a filesystem
- Replace UNREACHABLE with ASSERT (FALSE) in case of new checksum
algorithms, due to it is an invariant violation rather than unreachable
path
- Solve compiler warnings. Initialize all fields in gExt4BindingProtocol
Fix comparison of integer expressions of different signedness
- Field name_len has type CHAR8, while filename limit is 255
(EXT4_NAME_MAX), so because structure EXT4_DIR_ENTRY would be
unchangeable in future, we could drop this check without any
assertions
- Simplify Ext4RemoveDentry logic by using IsNodeInList
- Fix possible int overflow in Ext4ExtentsMapKeyCompare
- Return bad block type in Ext4GetBlockpath
- Adds 4-byte aligned check for superblock group descriptor size field

Cc: Marvin Häuser &lt;mhaeuser@posteo.de&gt;
Cc: Pedro Falcato &lt;pedro.falcato@gmail.com&gt;
Cc: Vitaly Cheptsov &lt;vit9696@protonmail.com&gt;
Signed-off-by: Savva Mitrofanov &lt;savvamtr@gmail.com&gt;
Reviewed-by: Marvin Häuser &lt;mhaeuser@posteo.de&gt;
Reviewed-by: Pedro Falcato &lt;pedro.falcato@gmail.com&gt;
</content>
</entry>
<entry>
<title>Ext4Pkg: Add ext2/3 support</title>
<updated>2022-06-14T15:56:00+00:00</updated>
<author>
<name>Pedro Falcato</name>
<email>pedro.falcato@gmail.com</email>
</author>
<published>2022-04-07T22:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2-platforms.git/commit/?id=7c46116b0e18b81db26db3b741ca6a7166b7f0d6'/>
<id>urn:sha1:7c46116b0e18b81db26db3b741ca6a7166b7f0d6</id>
<content type='text'>
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3745

Adds ext2/3 support by supporting (legacy) block maps.
Also fixes a bug regarding uninitialised extents.

Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Pedro Falcato &lt;pedro.falcato@gmail.com&gt;
Acked-by: Liming Gao &lt;gaoliming@byosoft.com.cn&gt;
</content>
</entry>
</feed>
