mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-11 04:07:39 +02:00
NonLinearlySegmentedLayer: Fix maximum addresses in segmented layers
This commit is contained in:
@@ -152,7 +152,7 @@ class NonLinearlySegmentedLayer(
|
||||
raise ValueError("SegmentedLayer must contain some segments")
|
||||
if self._maxaddr is None:
|
||||
mapped, _, length, _ = self._segments[-1]
|
||||
self._maxaddr = mapped + length
|
||||
self._maxaddr = mapped + length - 1
|
||||
return self._maxaddr
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user