Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 ggr 9/12/83; site pyuxbb.UUCP Path: utzoo!linus!philabs!cmcl2!floyd!vax135!ariel!hou5f!hou5g!hou5h!eagle!allegra!alice!rabbit!pyuxbb!ggr From: ggr@pyuxbb.UUCP Newsgroups: net.news.b Subject: Reference Overflow bug Message-ID: <167@pyuxbb.UUCP> Date: Wed, 28-Sep-83 12:15:49 EDT Article-I.D.: pyuxbb.167 Posted: Wed Sep 28 12:15:49 1983 Date-Received: Thu, 29-Sep-83 08:59:19 EDT Organization: AT&T Bell Laboratories, Piscataway Lines: 11 You might have noticed some articles arrive with garbled headers, <1987@floyd.UUCP> for example. This problem is caused by an overabundance of references which overflow an array in readnews, scribbling on other variables. To fix this, you should make the size of the array 'folbuf' (in more than one place in readr.c) be at least size BUFLEN (it's now 100 in two places). You ought to also add a check on the existing size of the reference string before the strcat's to add the new reference. === Guy Riddle == AT&T Bell Laboratories, Piscataway ===