smb1: Prevent accessing uninitialized referenced_tree

The added pcap was created from an OSS Fuzz test case and is borderline
valid SMB traffic, but it triggered a scripting error.

Closes #2726
This commit is contained in:
Arne Welzel 2023-01-27 19:22:09 +01:00
parent 589e042e26
commit 8be8c22b3e
5 changed files with 31 additions and 0 deletions

View file

@ -206,6 +206,7 @@ export {
["SMB_parsing_error"] = ACTION_LOG,
["no_smb_session_using_parsesambamsg"] = ACTION_LOG,
["smb_andx_command_failed_to_parse"] = ACTION_LOG,
["smb_tree_connect_andx_response_without_tree"] = ACTION_LOG_PER_CONN,
["transaction_subcmd_missing"] = ACTION_LOG,
["successful_RPC_reply_to_invalid_request"] = ACTION_NOTICE_PER_ORIG,
["SYN_after_close"] = ACTION_LOG,