From cd8bbce80beaea59996d79d3ad91d6f9922257f1 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Wed, 27 Mar 2002 17:23:44 +0000 Subject: - markus@cvs.openbsd.org 2002/03/26 15:23:40 [bufaux.c] do not talk about packets in bufaux --- ChangeLog | 5 ++++- bufaux.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index fa420b88b..7047fd903 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,9 @@ - markus@cvs.openbsd.org 2002/03/26 11:37:05 [ssh.c] update Copyright + - markus@cvs.openbsd.org 2002/03/26 15:23:40 + [bufaux.c] + do not talk about packets in bufaux 20020325 - (stevesk) import OpenBSD as "openbsd-compat/tree.h" @@ -8071,4 +8074,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1994 2002/03/27 17:20:38 mouring Exp $ +$Id: ChangeLog,v 1.1995 2002/03/27 17:23:44 mouring Exp $ diff --git a/bufaux.c b/bufaux.c index 7dafed26e..9fe6da513 100644 --- a/bufaux.c +++ b/bufaux.c @@ -37,7 +37,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: bufaux.c,v 1.23 2002/03/18 17:25:29 provos Exp $"); +RCSID("$OpenBSD: bufaux.c,v 1.24 2002/03/26 15:23:40 markus Exp $"); #include #include "bufaux.h" @@ -196,7 +196,7 @@ buffer_get_string(Buffer *buffer, u_int *length_ptr) /* Get the length. */ len = buffer_get_int(buffer); if (len > 256 * 1024) - fatal("Received packet with bad string length %d", len); + fatal("buffer_get_string: bad string length %d", len); /* Allocate space for the string. Add one byte for a null character. */ value = xmalloc(len + 1); /* Get the string. */ -- cgit v1.2.3