Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-14 | remove duplicate header include | Charles Longeau | |
ok gilles@ | |||
2009-11-14 | remove stupid extraneous return... | Marc Espie | |
2009-11-14 | pull the eval {} code into an anonymous sub, so that we can choose to exec | Marc Espie | |
it without the eval (useful for backtraces when I want bug-reports, since eval {} will show you the backtrace of the eval, not of the function call) | |||
2009-11-14 | fix. noticed by sthen@ | Marc Espie | |
2009-11-13 | add missing headers needed by time() | Charles Longeau | |
ok jacekm@ | |||
2009-11-13 | Don't use [] in function arguments when dealing with arrays | Jonathan Gray | |
we don't know the size of, otherwise gcc >= 4 will error. ok markus@ deraadt@ | |||
2009-11-13 | Add logging of failed local deliveries. | Jacek Masiulaniec | |
2009-11-13 | Log all 4yz and 5yz replies that we send to our clients. | Jacek Masiulaniec | |
2009-11-13 | Include recipient address in "Recipient rejected" reply. | Jacek Masiulaniec | |
2009-11-13 | Log FQDN and IP of the server we handed mail to. As a bonus, don't delay | Jacek Masiulaniec | |
logging of successful deliveries until all MXs were tried, plus add logging of 5yz replies. tested by todd@, "reads ok" gilles@ | |||
2009-11-12 | Add more paranoia in lsa_router_check(). There needs to be at least one | Claudio Jeker | |
router link in a type-1 LSA. | |||
2009-11-12 | get_rtr_link and get_net_link are not supposed to fail and returning | Claudio Jeker | |
NULL would be bad. So instead use a fatalx() in that impossible case. After a discussion with deraadt@ because of a parfait warning. | |||
2009-11-12 | Make life easier for parfait. I corporation with deraadt. -moj | Mats O Jansson | |
2009-11-12 | for packets with unknown payloads (outside the range of our knowledge) simply | Theo de Raadt | |
treat them the same as truncated packets ok sthen | |||
2009-11-12 | accessses 1 entry too far, found by parfait, ok jsg claudio | Theo de Raadt | |
2009-11-12 | simpler: the whole set fails | Marc Espie | |
2009-11-12 | Fix a memleak in parse_config(). Correct return code in few error paths. | Jacek Masiulaniec | |
Fix two memleaks in purge_config(). First problem spotted by parfait, the other ones - by myself. "looks good" gilles@ | |||
2009-11-12 | Don't reuse a loop counter specifying the size of an array outside | Jonathan Gray | |
of the loop to then access an offset in the array as this can lead to an off by one. found by parfait ok miod@ | |||
2009-11-12 | a sprinkle of knf | Theo de Raadt | |
2009-11-12 | fix read-one-beyond-of-array errors; ok sthen jsg | Theo de Raadt | |
2009-11-11 | memory leak found by parfait | Theo de Raadt | |
2009-11-11 | spacing | Theo de Raadt | |
2009-11-11 | fix a few memory leaks, found by parfait; ok jsg | Theo de Raadt | |
2009-11-11 | correctly order the range check and use the right limits, pointed out by parfait | Theo de Raadt | |
ok claudio millert | |||
2009-11-11 | Fix previous. When configured to relay via IP address, MX lookup would fail | Jacek Masiulaniec | |
(NXDOMAIN), leading to a bounce. Precede the MX lookup with an attempt to parse the relay as numeric string. "reads ok" gilles@ | |||
2009-11-11 | patch a whole bunch of memory leaks, parfait only spotted one of them | Theo de Raadt | |
ok miod jsg | |||
2009-11-11 | Check if the receive buffer has any unused space before reading from socket in | Jacek Masiulaniec | |
buf_read (and in ssl_buf_read). | |||
2009-11-11 | Plug two memory leaks in error pathes. Found by parfait. OK henning, jsg | Claudio Jeker | |
2009-11-11 | Don't leak memory in error case. | Jonathan Gray | |
Found by parfait. | |||
2009-11-11 | don't leak memory in an error case. | Jonathan Gray | |
found by parfait. | |||
2009-11-11 | vsystem, system, unlink can mostly go through state, and do the ->clear part | Marc Espie | |
as well. | |||
2009-11-11 | remove extra warnings | Marc Espie | |
2009-11-11 | remove redirector: if we want to run system AND log, just say so | Marc Espie | |
2009-11-11 | fix setup_header in -vx !-r case: show we are adding a package, and don't | Marc Espie | |
show it twice. | |||
2009-11-11 | don't use Warn if we've got a $state, get through errprint/errsay. | Marc Espie | |
Also: reset lastdisplay on clear, and don't clear twice. | |||
2009-11-11 | also get most STDERR messages through the same way | Marc Espie | |
2009-11-11 | progressmeter puts STDOUT in autoflush if -t, so that it can display to it ↵ | Marc Espie | |
instead of piping a lot of stuff to STDERR. Go through state->print for most messages, so they will NOT do weird things with the progressmeter. Use a ->say shortcut which does the same thing that perl 5.10 say does... | |||
2009-11-11 | Fix crlf issue in buf_getln, similar to that in smtp_session.c r1.123. | Jacek Masiulaniec | |
ok gilles@ | |||
2009-11-11 | improve buf_getln readability, no fuctional change. | Jacek Masiulaniec | |
2009-11-11 | state->progress->print => $state->print | Marc Espie | |
2009-11-11 | make things so that $state->print always work, with or without progressmeter, | Marc Espie | |
even before we set it up. | |||
2009-11-11 | remove forwarders, and provide a sensible API that says what's going on | Marc Espie | |
(e.g., we're logging information for later). | |||
2009-11-11 | bad idea to inherit from Error, compose object instead | Marc Espie | |
2009-11-11 | Ensure all replies are at least 4 chars long. If only 3 chars were | Jacek Masiulaniec | |
received, append a space character. This enables other parts of the daemon to safely index into 4th character of the reply buffer without the risk of accessing one byte beyond NUL. ok gilles@ | |||
2009-11-11 | add missing headers needed by time() | Charles Longeau | |
ok jacekm@ | |||
2009-11-11 | Fix an obvious use after free. Found by parfait. Reported and OK jsg@ | Claudio Jeker | |
2009-11-10 | Eliminate space after colon in "RCPT TO:" as required by RFC. | Jacek Masiulaniec | |
2009-11-10 | In absence of the ehlo parameter, generate one based on locally | Jacek Masiulaniec | |
bound IP address ("EHLO [1.2.3.4]") as dictated by RFC. ok gilles@ | |||
2009-11-10 | In relay case, avoid freeing garbage pointer by copying the required struct | Jacek Masiulaniec | |
from the temporary imsg buffer. ok gilles@ | |||
2009-11-10 | zap old API | Marc Espie | |