File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
symbols/windows/extensions Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ def _generator(self, procs):
341341 try :
342342 obj_name = entry .NameInfo .Name .String
343343 except (ValueError , exceptions .InvalidAddressException ):
344- obj_name = ""
344+ obj_name = None
345345
346346 except exceptions .InvalidAddressException :
347347 vollog .log (
@@ -359,7 +359,7 @@ def _generator(self, procs):
359359 format_hints .Hex (entry .HandleValue ),
360360 obj_type ,
361361 format_hints .Hex (entry .GrantedAccess ),
362- obj_name ,
362+ obj_name or renderers . NotAvailableValue () ,
363363 ),
364364 )
365365
Original file line number Diff line number Diff line change @@ -133,8 +133,17 @@ def _skip_key_hive_entry_path(self, kcb_flags):
133133
134134 def get_full_key_name (self ) -> str :
135135 output = []
136+ seen = set ()
137+
136138 kcb = self .KeyControlBlock
137139 while kcb .ParentKcb :
140+ if kcb .ParentKcb .vol .offset in seen :
141+ return None
142+ seen .add (kcb .ParentKcb .vol .offset )
143+
144+ if len (output ) > 128 :
145+ return None
146+
138147 if kcb .NameBlock .Name is None :
139148 break
140149
You can’t perform that action at this time.
0 commit comments