Skip to content

Fix: [Issue-101] Panic: runtime error: slice bounds out of range in PacketCodec.SessionId()#102

Open
maharudragadhave-Druva wants to merge 1 commit into
hirochachacha:masterfrom
maharudragadhave-Druva:panic_slice_fix2
Open

Fix: [Issue-101] Panic: runtime error: slice bounds out of range in PacketCodec.SessionId()#102
maharudragadhave-Druva wants to merge 1 commit into
hirochachacha:masterfrom
maharudragadhave-Druva:panic_slice_fix2

Conversation

@maharudragadhave-Druva

Copy link
Copy Markdown

Issue link: #101 (comment)

Change:

  • validate packet before accessing sessionID.

…acketCodec.SessionId() and SetSessionId() when receiving truncated SMB2 packets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant