mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-02 14:28:58 +02:00
fix off by in filelayer
This commit is contained in:
@@ -118,7 +118,7 @@ class FileLayer(interfaces.layers.DataLayerInterface):
|
||||
with self._lock:
|
||||
orig = self._file.tell()
|
||||
self._file.seek(0, 2)
|
||||
self._size = self._file.tell()
|
||||
self._size = self._file.tell() - 1
|
||||
self._file.seek(orig)
|
||||
return self._size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user