ssh_config icon indicating copy to clipboard operation
ssh_config copied to clipboard

DOS line endings parsing

Open trntv opened this issue 6 years ago • 2 comments

Parser incorrectly parses DOS line endings \r\n

trntv avatar Mar 04 '18 18:03 trntv

This has been fixed by fe204ef364e0cbeb969255bf3e8fa70416a31ec6, I believe, and can be closed.

kevinburke avatar Mar 17 '18 17:03 kevinburke

I can still reproduce the error

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x510b2b]

goroutine 1 [running]:
sshed/vendor/github.com/kevinburke/ssh_config.decode.func1(0xc0420719d0)
        C:/Users/frede/.go/src/sshed/vendor/github.com/kevinburke/ssh_config/config.go:217

fredericrous avatar Mar 20 '18 21:03 fredericrous