dissect.archive 1.9.dev3__py3-none-any.whl → 1.9.dev4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dissect/archive/tibx/lsm.py +6 -1
- {dissect_archive-1.9.dev3.dist-info → dissect_archive-1.9.dev4.dist-info}/METADATA +1 -1
- {dissect_archive-1.9.dev3.dist-info → dissect_archive-1.9.dev4.dist-info}/RECORD +8 -8
- {dissect_archive-1.9.dev3.dist-info → dissect_archive-1.9.dev4.dist-info}/WHEEL +0 -0
- {dissect_archive-1.9.dev3.dist-info → dissect_archive-1.9.dev4.dist-info}/entry_points.txt +0 -0
- {dissect_archive-1.9.dev3.dist-info → dissect_archive-1.9.dev4.dist-info}/licenses/COPYRIGHT +0 -0
- {dissect_archive-1.9.dev3.dist-info → dissect_archive-1.9.dev4.dist-info}/licenses/LICENSE +0 -0
- {dissect_archive-1.9.dev3.dist-info → dissect_archive-1.9.dev4.dist-info}/top_level.txt +0 -0
dissect/archive/tibx/lsm.py
CHANGED
|
@@ -87,7 +87,12 @@ class LsmSuperBlock:
|
|
|
87
87
|
if payload[:4] != LSM_MAGIC_SUPERBLOCK:
|
|
88
88
|
raise CorruptArchiveError(f"L-SB magic missing in TLV slot {tlv_index}")
|
|
89
89
|
self.tlv_index = tlv_index
|
|
90
|
-
|
|
90
|
+
try:
|
|
91
|
+
self.sb = c_tibx.lsm_superblock(payload)
|
|
92
|
+
except EOFError:
|
|
93
|
+
# The header of an archive cut off after its first page is short, and so is the
|
|
94
|
+
# L-SB that runs past the cut
|
|
95
|
+
raise CorruptArchiveError(f"L-SB truncated in TLV slot {tlv_index}")
|
|
91
96
|
self.seq = self.sb.seq
|
|
92
97
|
self.key_length = self.sb.key_length
|
|
93
98
|
self.value_length = self.sb.value_length
|
|
@@ -13,7 +13,7 @@ dissect/archive/tibx/c_tibx.pyi,sha256=WYrEbBp63e14wS-oNHjIcLxSDtZC8K7zr_5P6Xozx
|
|
|
13
13
|
dissect/archive/tibx/codec.py,sha256=Ow6eoi7BkWUiSdrDg6rvueZP7FB5LYDihgGSljt_I_0,5965
|
|
14
14
|
dissect/archive/tibx/crypto.py,sha256=uinJaUFrZusMq64CR8RQ-U2Si8fpQr5BMOPaM_9mDkE,10813
|
|
15
15
|
dissect/archive/tibx/exception.py,sha256=RI-tjHi5eOMvGSQ2dxGkXX_3Jyul78JH2_U3nKRlxe8,576
|
|
16
|
-
dissect/archive/tibx/lsm.py,sha256=
|
|
16
|
+
dissect/archive/tibx/lsm.py,sha256=zTw06N9d3hgpnDWyzvNkq6jHrBT0dMZjTmPt4G44y50,19992
|
|
17
17
|
dissect/archive/tibx/map.py,sha256=umIUz43j6RLOZP6Mli5Gnj1fCAyJ29Bpq_FNSmmoSBU,22429
|
|
18
18
|
dissect/archive/tibx/page.py,sha256=3OnFcTKMXHNclEoHz5__70SEoF3BNhnKEdnVXpQ_u7k,18874
|
|
19
19
|
dissect/archive/tibx/segment.py,sha256=ovN23Stp_fuHT2iaNoBepB-4CQ5uAkdfHG_ziOH59tU,8355
|
|
@@ -21,10 +21,10 @@ dissect/archive/tibx/stream.py,sha256=GM1CT6qEkPrDhUpRQZDPAH-Wlt_H7-4JqBodB-q966
|
|
|
21
21
|
dissect/archive/tibx/tibx.py,sha256=Nh1NezGMM-3QAivHnL2aH9tr1QhHX0HcxSUTf76RH-4,43576
|
|
22
22
|
dissect/archive/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
dissect/archive/tools/backup.py,sha256=P2y1L4n-hvijS9d9oPj8xr4m2VT5-zF1eE8MgYi8wb8,6898
|
|
24
|
-
dissect_archive-1.9.
|
|
25
|
-
dissect_archive-1.9.
|
|
26
|
-
dissect_archive-1.9.
|
|
27
|
-
dissect_archive-1.9.
|
|
28
|
-
dissect_archive-1.9.
|
|
29
|
-
dissect_archive-1.9.
|
|
30
|
-
dissect_archive-1.9.
|
|
24
|
+
dissect_archive-1.9.dev4.dist-info/licenses/COPYRIGHT,sha256=qwas9LzX3BWsl7O4FzLA8Rk9Xcj5YQ7RYyavBO3VWiQ,302
|
|
25
|
+
dissect_archive-1.9.dev4.dist-info/licenses/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
26
|
+
dissect_archive-1.9.dev4.dist-info/METADATA,sha256=NrAH0we9nnM3GXUjmSuDKrE4HK-u6STSGWe1H32G5v4,3423
|
|
27
|
+
dissect_archive-1.9.dev4.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
28
|
+
dissect_archive-1.9.dev4.dist-info/entry_points.txt,sha256=Vsk0cj5kg1UxnvdHb2YTHaAqKWFlRckVFi6qL3oQcwg,165
|
|
29
|
+
dissect_archive-1.9.dev4.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
|
|
30
|
+
dissect_archive-1.9.dev4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{dissect_archive-1.9.dev3.dist-info → dissect_archive-1.9.dev4.dist-info}/licenses/COPYRIGHT
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|