Hi,
I found a bug in
src/fwalls/hosts.c
1. there is a global variable tempflname, but in fw_init() and
hosts_updatelist(), local variables with the same name are also defined,
this caused make_temporary_conffile() always fails. Fix: local variables
should be deleted;
2. the glboal variable tempflname should be initialized as soon as possible
in fw_init(), otherwise hosts_clearsshguardblocks() tries to create temp
file with invalid name (and fails).
cameos
|