Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!wuarchive!kuhub.cc.ukans.edu!anu-news!list From: SMITH%MCCLB0.MED.NYU.EDU@CUNYVM.CUNY.EDU (Ross Smith: (212) 340-5356) Newsgroups: news.software.anu-news Subject: Re: NEWS crashing on posting to multiple groups Message-ID: Date: 1 Feb 90 01:32:00 GMT Sender: ANU-NEWS Discussion Reply-To: "Ross Smith: (212) 340-5356" Lines: 32 X-VMS-To: ANU-L X-Organization: NYU Medical Center, 550 1st Ave., New York, NY 10016 X-Envelope-to: anu-news@vm1.nodak.edu >From: G|ran Bengtson >Subject: NEWS crashing on POST to multiple newsgroups. >> I just tried to post a news item to 3 newsgroups. NEWS crashed with an >>ACCESS VIOLATION, improperly handled condition after the Subject entry >>line, and before the prompt to post to the news group [y]. I tried putting >Sounds like it could be the same problem I reported (posted) a couple of days >ago (although I've seen ZERO response...). (My article is included here...). >========= >I found an problem with get_post_defaults in NEWSPOST.C (V5.9C). >--- > locgrp = malloc(strlen(groups) + 3); > locdst = malloc(strlen(cur_dist) + 3); > locfol = malloc(strlen(cur_follow) + 3); >--- >The quick and dirty fix was to change them to: >--- > locdst = malloc(strlen(cur_dist) + 3 + 512); > locfol = malloc(strlen(cur_follow) + 3 + 512); >--- >and that solved my problem. ..And that seems to have solved ny problem also. I 'fixed' NNTP_SERVER.C also, so we will see if something terribel happens. Thanks!