From 9bb0c311dd1c43ca1041bec4e9782f02d8714e24 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 19 Oct 1994 16:39:09 +0000 Subject: [PATCH] Make protocol buffers be unsigned, since we're comparing against unsigned data. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4543 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 5 +++++ src/appl/bsd/krlogind.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 274da338b..74e43a8ea 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 19 12:36:47 1994 Theodore Y. Ts'o (tytso@dcl) + + * krlogind.c (protocol): Make protocol buffers be unsigned, since + we're comparing against unsigned data. + Tue Oct 18 15:48:37 1994 Mark Eichin (eichin@cygnus.com) * configure.in (HAVE_STREAMS): test for streams interface headers diff --git a/src/appl/bsd/krlogind.c b/src/appl/bsd/krlogind.c index 257ddbbdf..45ab1a0e2 100644 --- a/src/appl/bsd/krlogind.c +++ b/src/appl/bsd/krlogind.c @@ -891,7 +891,7 @@ control(pty, cp, n) protocol(f, p) int f, p; { - char pibuf[1024], fibuf[1024], *pbp, *fbp; + unsigned char pibuf[1024], fibuf[1024], *pbp, *fbp; register pcc = 0, fcc = 0; int cc; char cntl; -- 2.26.2