Skip to content

Commit

Permalink
Merge pull request #1048 from volatilityfoundation/issues/issue922
Browse files Browse the repository at this point in the history
Issues/issue922
  • Loading branch information
ikelos authored Nov 26, 2023
2 parents 62506ae + 8b6ab44 commit 9f9afbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion volatility3/framework/objects/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ def array_of_pointers(
raise TypeError(
"Subtype must be a valid template (or string name of an object template)"
)
# We have to clone the pointer class, or we'll be defining the pointer subtype for all future pointers
subtype_pointer = context.symbol_space.get_type(
symbol_table + constants.BANG + "pointer"
)
).clone()
subtype_pointer.update_vol(subtype=subtype)
return array.cast("array", count=count, subtype=subtype_pointer)

0 comments on commit 9f9afbf

Please sign in to comment.