From f15137619272e50814fe9933628c39486833c916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Fri, 19 Sep 2003 14:22:29 +0200 Subject: [PATCH] (do_read_line): Fixed buffer overrun, with potential remote root compromise. XXX Fix in HEAD branch. Rev: src/read_line.c:1.30.4.1 --- src/read_line.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/read_line.c b/src/read_line.c index 52cce502..ba9573db 100644 --- a/src/read_line.c +++ b/src/read_line.c @@ -98,6 +98,8 @@ do_read_line(struct read_handler **h, /* Too long line */ EXCEPTION_RAISE(self->e, make_protocol_exception(0, "Line too long.")); + + return available; } /* Ok, now we have a line. Copy it into the buffer. */ -- GitLab