Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site turtlevax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!decwrl!turtlevax!ken From: ken@turtlevax.UUCP (Ken Turkowski) Newsgroups: net.news,net.unix-wizards Subject: Bug in expire: uninitialized pointer (FULLSYSNAME) Message-ID: <923@turtlevax.UUCP> Date: Wed, 16-Oct-85 05:35:29 EDT Article-I.D.: turtleva.923 Posted: Wed Oct 16 05:35:29 1985 Date-Received: Fri, 18-Oct-85 01:58:48 EDT Distribution: net Organization: CADLINC, Inc. @ Menlo Park, CA Lines: 13 Xref: watmath net.news:4072 net.unix-wizards:15285 I'm having problems porting news 2.10.2 to the 68000, which barfs on NULL pointers. Expire core dumps on me, when in hread() it tries to copy (via strcpy()) FULLSYSNAME to bfr. At this point, FULLSYSNAME is NULL (uninitialized), so the call is essentially strcpy(bfr, 0). I suspect that this bug is pervasive throughout the code. Has anyone made the appropriate modifications to avoid this problem? Could you send me the fixes, or pointers (no pun intended) to where I can get working code? -- Ken Turkowski @ (CADLINC --> CIMLINC), Menlo Park, CA UUCP: {amd,decwrl,hplabs,seismo,spar}!turtlevax!ken ARPA: turtlevax!ken@DECWRL.ARPA