commit | 4986295c478039f90720a1bc8a1b6b3991f6d89d | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@golang.org> | Sun Sep 15 12:48:02 2013 -0400 |
committer | Adam Langley <agl@golang.org> | Sun Sep 15 12:48:02 2013 -0400 |
tree | 6b095242202e7c627db7809f0ccd2921069a037c | |
parent | 1b08228a8ad25476dc83b471d9e64e2790ebb1a6 [diff] |
go.crypto/ssh/terminal: fix non-ASCII history. The length of history buffer entries (which are stored as strings) was being used as the number of runes. This was correct until ff9ce887b46b, which allowed unicode entry, but can now cause a panic when editing history that contains non-ASCII codepoints. R=golang-dev, sfrithjof, r CC=golang-dev https://golang.org/cl/13255050