[news.software.anu-news] NEWS crashing on posting to multiple groups

SMITH%MCCLB0.MED.NYU.EDU@CUNYVM.CUNY.EDU (Ross Smith: (212) 340-5356) (02/01/90)

>From: G|ran Bengtson <GOERAN@ae.chalmers.se>
>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!