From 5d31df767ec540c974e721d1ac1060903baa43b9 Mon Sep 17 00:00:00 2001 From: "Robert S. French" Date: Mon, 29 Jun 1987 13:27:04 +0000 Subject: fenceposts!! --- lib/ZParseNot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/ZParseNot.c') diff --git a/lib/ZParseNot.c b/lib/ZParseNot.c index d30707a..692366a 100644 --- a/lib/ZParseNot.c +++ b/lib/ZParseNot.c @@ -97,7 +97,8 @@ Code_t ZParseNotice(buffer,len,notice,auth,from) } if (__Zephyr_server) { - if (ZReadAscii(notice->z_ascii_authent,end-ptr,authent.dat, + if (ZReadAscii(notice->z_ascii_authent, + strlen(notice->z_ascii_authent)+1,authent.dat, notice->z_authent_len) == ZERR_BADFIELD) { *auth = 0; return (ZERR_NONE); -- cgit v1.2.3