]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon TTY: fix handling of buffer
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 31 Jan 2017 15:37:31 +0000 (16:37 +0100)
committerŠtěpán Balážik <stepan.balazik@nic.cz>
Fri, 3 Feb 2017 18:29:14 +0000 (19:29 +0100)
commita19e2e50128f5340781c51771ea63151a07bf47a
tree43375e0a65b031addd3fe15ec26af5d562e7ee90
parent058f196456cf1adb6b7ba5bdd1235dc082ae7071
daemon TTY: fix handling of buffer

It was possible to write past the end of the buffer, if very unlucky.
daemon/main.c