public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms][PATCH v2 0/1] Ext4Pkg: Code correctness and security improvements
@ 2022-07-20  5:36 Savva Mitrofanov
  2022-07-20  5:36 ` [edk2-platforms][PATCH v2 1/1] " Savva Mitrofanov
  0 siblings, 1 reply; 6+ messages in thread
From: Savva Mitrofanov @ 2022-07-20  5:36 UTC (permalink / raw)
  To: devel; +Cc: Marvin Häuser, Pedro Falcato, Vitaly Cheptsov

Hi all,

This is second version of patch in which I squashed commits into one.
Here attempts to improve security of code sections by fixing integer overflows,
missing  aligment checks, unsafe casts. Also I simplified some routines, fixed
compiler warnings and corrected some code mistakes.

REF: https://github.com/savvamitrofanov/edk2-platforms/commits/ext4pkg_security_improvements

Cc: Marvin Häuser <mhaeuser@posteo.de>
Cc: Pedro Falcato <pedro.falcato@gmail.com>
Cc: Vitaly Cheptsov <vit9696@protonmail.com>

Savva Mitrofanov (1):
  Ext4Pkg: Code correctness and security improvements

 Features/Ext4Pkg/Ext4Dxe/Ext4Disk.h   |  3 +-
 Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h    |  2 +-
 Features/Ext4Pkg/Ext4Dxe/BlockMap.c   | 18 ++++++++----
 Features/Ext4Pkg/Ext4Dxe/Directory.c  | 29 ++------------------
 Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.c    | 10 ++++---
 Features/Ext4Pkg/Ext4Dxe/Extents.c    |  5 ++--
 Features/Ext4Pkg/Ext4Dxe/Inode.c      |  8 +++---
 Features/Ext4Pkg/Ext4Dxe/Superblock.c | 13 +++++----
 8 files changed, 38 insertions(+), 50 deletions(-)

-- 
2.37.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-07-29 10:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-20  5:36 [edk2-platforms][PATCH v2 0/1] Ext4Pkg: Code correctness and security improvements Savva Mitrofanov
2022-07-20  5:36 ` [edk2-platforms][PATCH v2 1/1] " Savva Mitrofanov
2022-07-20 17:54   ` Marvin Häuser
2022-07-29  7:47     ` Savva Mitrofanov
2022-07-24 16:59   ` Pedro Falcato
2022-07-29 10:09     ` Savva Mitrofanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox