CVSROOT: /cvs Module name: src Changes by: gil...@cvs.openbsd.org 2009/03/08 11:54:20
Modified files: usr.sbin/smtpd : lka.c mfa.c smtpd.c smtpd.h Log message: ~/.forward files handling was fixed recently so that it is the privileged process that does the opening, this commit does some cleanup, and fixes a bug I experienced today which was caused by a use-after-free. I did some testing to make sure a user cannot cause smtpd to deadlock, or loop, with broken setups (self-referencing forwards/aliases, empty files, broken files...), but if you are playing with aliases/forwards PLEASE let me know of any bug you run into.