INN commit: trunk/innd (nc.c)

INN Commit Russ_Allbery at isc.org
Sun Oct 9 04:36:13 UTC 2005


    Date: Saturday, October 8, 2005 @ 21:36:11
  Author: eagle
Revision: 7417

Fix an oddity that I found a while back when auditing uses of the buffer
code in innd but never returned to.  If NCwritereply sends its reply
immediately but can only send a part of it, the count of bytes remaining
to send wasn't decremented.  We could then send random junk at the end
of the buffer to the peer later on.

Modified:
  trunk/innd/nc.c

------+
 nc.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)


More information about the inn-committers mailing list