Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!jonab From: jonab@sdcrdcf.UUCP (Jonathan Biggar) Newsgroups: net.sources.bugs Subject: Rn bug patch #12 (REPOSTED) Message-ID: <1476@sdcrdcf.UUCP> Date: Fri, 16-Nov-84 19:01:18 EST Article-I.D.: sdcrdcf.1476 Posted: Fri Nov 16 19:01:18 1984 Date-Received: Sun, 18-Nov-84 05:14:38 EST Reply-To: jonab@sdcrdcf.UUCP (Jonathan Biggar) Distribution: net Organization: System Development Corp. R+D, Santa Monica Lines: 71 System: rn version 4.1 Bug #: 12 Priority: MEDIUM Subject: missing free() on pdp11's Index: head.c Prereq: 4.1 From: pur-ee!Physics:crl (Charles LaBrec) Description: On a machine without CACHESUBJ defined, too much subject searching and listing can run rn out of memory. In head.c, in fetchsubj(), without CACHESUBJ, if copy is false, then after the call to safecpy(), you must do a free(s), or you lose mem. Fix: From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch