mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 01:37:39 +02:00
Catch invalid address exception for invalid sock values
This commit is contained in:
@@ -538,8 +538,11 @@ class Sockstat(plugins.PluginInterface):
|
||||
continue
|
||||
sock = socket.sk.dereference()
|
||||
|
||||
sock_type = sock.get_type()
|
||||
family = sock.get_family()
|
||||
try:
|
||||
sock_type = sock.get_type()
|
||||
family = sock.get_family()
|
||||
except exceptions.InvalidAddressException:
|
||||
continue
|
||||
|
||||
sock_handler = SockHandlers(vmlinux, task)
|
||||
sock_fields = sock_handler.process_sock(sock)
|
||||
|
||||
Reference in New Issue
Block a user