CVSROOT: /cvs Module name: src Changes by: gil...@cvs.openbsd.org 2010/09/12 16:38:31
Modified files: usr.sbin/smtpd : lka.c Log message: oga@ spotted a bug in lka_expand() which caused it to miscalculate the length of its expand buffer. this commit introduces a new lka_expand() that has been simplified, that fixes the bug and that is more robust. callers of lka_expand() can now determine that it has failed and throw the recipient at session time. lka_expand() rewrite by oga@, changes around it by me, tested on a few different setups but no feedback from tech@ so ... let me know if it's breaking something for you