Bug in INN 2.2 frontends/inews.c
pvirkkul at iki.fi
pvirkkul at iki.fi
Thu Aug 19 18:49:58 UTC 1999
Software:
INN version 2.2
Description:
inews crashes if it is given an article that is bigger than
"localartsize" configuration value in inn.conf.
Suggested Patch:
*** inn-2.2-orig/frontends/inews.c Thu Aug 20 07:25:15 1998
--- inn-2.2/frontends/inews.c Thu Aug 19 21:02:19 1999
***************
*** 1312,1319 ****
Length = strlen(article);
if ((innconf->localmaxartsize > 0) && (Length > innconf->localmaxartsize)) {
(void)fprintf(stderr,
! "Article is bigger then local limit of %ld bytes\n",
! atoi(p));
QuitServer(1);
}
--- 1312,1319 ----
Length = strlen(article);
if ((innconf->localmaxartsize > 0) && (Length > innconf->localmaxartsize)) {
(void)fprintf(stderr,
! "Article is bigger than local limit of %ld bytes (%ld bytes)\n",
! innconf->localmaxartsize, Length);
QuitServer(1);
}
More information about the inn-workers
mailing list