How buggy this little piece of code could be? Repair strnvis() buffersize
authorHasso Tepper <hasso@dragonflybsd.org>
Sat, 4 Oct 2008 09:57:14 +0000 (09:57 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Sat, 4 Oct 2008 09:57:14 +0000 (09:57 +0000)
commit5f82fbca88963f2a87ef0cff1d889e09ae79b99d
treea1ef3217e9a8093ffd39648fe88ff2839ed1b7a3
parenta668cf6a5302833559ac27364c20141c3f30f77c
How buggy this little piece of code could be? Repair strnvis() buffersize
of 4*n+1, with termination gauranteed by the function.

Obtained-from: OpenBSD
crypto/openssh-5/sshconnect2.c