ANU News Patch Patch ID: 940523_newsutility.c!bailey@genetics.upenn.edu Date: 23-May-1994 Author: Charles Bailey bailey@genetics.upenn.edu News Version: 6.1beta9 News Files: NewsUtility.C Description: Fixes bug in item array allocation within xoverni() which caused NNTP client to incur errors freeing item array space when processing an XOVER reponse from the remote server. *** newsutility.c --- newsutility_new.c ************** *** 99,101 **-- **/ --- 99,103 ----- + ** V6.1b9 22-May-1994 Charles Bailey bailey@genetics.upenn.edu + ** - fix memory usage bug which snuck into 6.1b9 release with another patch **-- **/ ************** *** 2479,2485 if (sgap->grp_iasize == sgap->grp_count) { sgap->grp_iasize += 10; ! sgap->grp_ia = realloc(sgap->grp_ia,(sgap->grp_iasize + 1) * (sizeof newsitm)); } j = sgap->grp_count + 1; while (j > i) { --- 2481,2487 ----- if (sgap->grp_iasize == sgap->grp_count) { sgap->grp_iasize += 10; ! sgap->grp_ia = news_realloc(sgap->grp_ia,(sgap->grp_iasize + 1) * (sizeof newsitm)); } j = sgap->grp_count + 1; while (j > i) { *** patchlist.h;-1 --- patchlist.h ************** *** 1,1 =+=+= End =+=+= --- 1,2 ----- + 940523_newsutility.c!bailey@genetics.upenn.edu =+=+= End =+=+=