]> prime8.dev >> repos - ttyd.git/commit
bugfix: off by one error (#257)
authorDennis Chen <barracks510@gmail.com>
Thu, 2 Jan 2020 13:30:58 +0000 (07:30 -0600)
committerShuanglei Tao <tsl0922@gmail.com>
Thu, 2 Jan 2020 13:30:58 +0000 (21:30 +0800)
commit498874deb851b913acbc102fcc85b2fe95ed9e72
tree074a4cb1a06616cf94afdf0e2604b5c4246d6d5c
parentaed3faa38dd20e8b377484ff7ac3da1826f21524
bugfix: off by one error (#257)

The strncpy function requires enough space for a NUL terminator.
src/server.c