audk/Ext4Pkg
Pedro Falcato 583b54f824
Ext4Pkg: Skip zero-sized extents
Zero-sized extents should not be cached nor considered valid, as they
have no meaning. As such, reject them outright when caching extents.
This makes it so callers do not need to check for ee_len = 0 before
using the result, which, if not done, can result in possible infinite
loops.

Cc: Marvin Häuser <mhaeuser@posteo.de>
Fixes: d9ceedca6c8f ("Ext4Pkg: Add Ext4Dxe driver.")
Reported-by: Savva Mitrofanov <savvamtr@gmail.com>
Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
2023-07-03 13:54:43 +06:00
..
2023-07-03 13:54:43 +06:00
2023-04-28 16:55:39 +03:00
2023-04-28 16:55:39 +03:00
2023-04-28 16:55:39 +03:00
2023-04-28 16:55:39 +03:00
2023-04-28 16:55:39 +03:00