INN 2.2.2: server_init coredumps

Russ Allbery rra at stanford.edu
Fri Mar 31 11:32:17 UTC 2000


Jonathan Kamens <jik at kamens.brookline.ma.us> writes:

> If a News reader client attempts to use the server_init provided in
> libinn in INN 2.2.2, it'll coredump because the configuration file
> hasn't been read yet but server_init assumes that it has been.  Since
> the clientlib.c interface in libinn is supposed to be as drop-in
> compatible as possible with the old, pre-inn clientlib.c, its
> server_init should read the configuration file automatically if it
> hasn't already been read.  News reader clients using server_init and the
> other clientlib functions shouldn't have to call special INN functions
> (like the one to read the config file) in addition to the standard ones.

I've committed a patch to the current INN development tree to fix this
problem (by calling ReadInnConf() if innconf isn't already set).  Thanks
for the report.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-bugs mailing list