Skip to content

Commit 789081e

Browse files
authored
Merge pull request #1606 from volatilityfoundation/issue_1594_dname
Catch symbolerror for when a kernel does not have ns_common #1594
2 parents 44ae4f1 + 1327812 commit 789081e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

volatility3/framework/symbols/linux/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def _get_new_sock_pipe_path(cls, context, task, filp) -> str:
276276
ns_ops = ns_common.ops
277277

278278
pre_name = utility.pointer_to_string(ns_ops.name, 255)
279-
except IndexError:
279+
except (exceptions.SymbolError, IndexError):
280280
pre_name = "<unsupported ns_dname implementation>"
281281
else:
282282
pre_name = f"<unsupported d_op symbol> {sym}"

0 commit comments

Comments
 (0)