K 10
svn:author
V 6
kondou
K 8
svn:date
V 27
1998-08-03T06:17:12.000000Z
K 7
svn:log
V 756
innd/rc.c:
	- From: Richard Michael Todd <rmtodd@mailhost.ecn.ou.edu>
	- In RCreadfile(), there is a main loop which maintains two variables,
	  *count and rp. *count keeps count of the number of peer structures
	  currently in the list, and rp points to the last one.  Normally
	  these two variables get incremented in sync, but if a hostname
	  lookup fails, *count is updated (actually was incremented earlier),
	  but rp isn't (and shouldn't, as we have no valid peer data to add).
	  This leads to *count being larger than the number of peer structures
	  initialized, so when RCreadfile() or RCclose() is next called, the
	  code attempts to free garbage that was never initialized.  The patch
	  below decrements *count if a hostname lookup fails.

END
