-
-
Notifications
You must be signed in to change notification settings - Fork 428
sshd/terminal: Panic bug in forked code #316
Copy link
Copy link
Closed
Labels
Description
Probably in our Terminal.SetEnterClear(false) implementation, there's a scenario that causes a panic:
panic: runtime error: slice bounds out of range
goroutine 17 [running]:
github.com/shazow/ssh-chat/sshd/terminal.(*Terminal).writeLine(0xc000089680, 0xc000074a00, 0x1, 0x4fe)
github.com/shazow/ssh-chat/sshd/terminal/terminal.go:635 +0x3aa
Not sure how to reproduce yet. Going to try fuzzing.
Reactions are currently unavailable