Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 1996 18:00:18 -0800 (PST)
From:      "Andrey A. Chernov" <ache>
To:        CVS-committers, cvs-all, cvs-usrsbin
Subject:   cvs commit:  src/usr.sbin/ppp chat.c
Message-ID:  <199604060200.SAA28380@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        96/04/05 18:00:18

  Modified:    usr.sbin/ppp  chat.c
  Log:
  Here is a patch for a little bug in the WaitForString routine.  The problem
  is when the matched string spans the end of the inbuff.  This fix allocates
  twice the IBSIZE so that it can keep the last and the current text to search
  in the inbuff so that the match won't fail if it gets truncated by the read.
  
  It also warns if the search string is to long and truncates it.
  
  Submitted by: Dough Ambrisco <ambrisco@ambrisco.roble.com>
  
  Revision  Changes    Path
  1.9       +14 -4     src/usr.sbin/ppp/chat.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604060200.SAA28380>