mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-09 19:27:39 +02:00
PR review fixes: Fix page extension object get_content() explicit returns mixed with implicit returns.
This commit is contained in:
@@ -2102,7 +2102,7 @@ class page(objects.StructType):
|
||||
physical_layer = vmlinux.context.layers["memory_layer"]
|
||||
page_paddr = self.to_paddr()
|
||||
if not page_paddr:
|
||||
return
|
||||
return None
|
||||
|
||||
page_data = physical_layer.read(page_paddr, vmlinux_layer.page_size)
|
||||
return page_data
|
||||
|
||||
Reference in New Issue
Block a user