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