Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2009-11-10 | kill more unused code | Marc Espie | |
2009-11-10 | remove dead code: as far as possible, we use only | Marc Espie | |
match_locations/filter_locations since we deal with location. external API only uses spec->filter(), so we keep that one. We still need the generic match/filter adapters for Stem searches. | |||
2009-11-10 | bad espie: use strict/warnings consistently, and fix two nits and two | Marc Espie | |
actual errors ! | |||
2009-11-10 | proposing details when we remove one single package is ridiculous | Marc Espie | |
2009-11-10 | switch to match_locations, and so we can use choose_location, yippee! | Marc Espie | |
2009-11-10 | tweak doc to only reference location objects | Marc Espie | |
2009-11-10 | zap match | Marc Espie | |
2009-11-10 | zap match | Marc Espie | |
2009-11-10 | kill one use of old-style match | Marc Espie | |
2009-11-10 | zap handle method, we finally no longer use it. | Marc Espie | |
2009-11-10 | document what's going on... | Marc Espie | |
2009-11-10 | move format expansion to the right place, from gilles@ | Jacek Masiulaniec | |
2009-11-10 | sync code with comment, from gilles@ | Jacek Masiulaniec | |
2009-11-10 | lint prompted cleanup | Theo de Raadt | |
2009-11-10 | - add comments to explain the logic in the aliases expansion loop | Gilles Chehade | |
- more cosmethic changes to help readability - fix memory leaks - if deliverylist is empty, it means something went bad during expansion, reject recipient | |||
2009-11-10 | pfff remove a comment i pasted to help me refactor code ;-) | Gilles Chehade | |
2009-11-10 | more cleanup, let lka_resolve_path() request forward files and populate | Gilles Chehade | |
expandtree, this makes a lot of code clearer and removes quite a bit of complexity from various places. | |||
2009-11-10 | Check for extension keywords on final multiline reply. Skip the | Jacek Masiulaniec | |
check for states other than CLIENT_EHLO. Verify response is not shorter than 3 chars. From Nils Frohberg ok gilles@ | |||
2009-11-10 | cosmethic changes, code reordering, no functionnal change | Gilles Chehade | |
2009-11-10 | introduce lka_session_fail() which factors a small piece of code used in | Gilles Chehade | |
three places: set code to 530, send imsg to notify rejection, kill lkasession | |||
2009-11-09 | now that we don't keep an expand_node in memory for each expansion result, | Gilles Chehade | |
we don't need to calloc them as they won't be saved in the tree. | |||
2009-11-09 | - add a reference count and flags to struct expand_node | Gilles Chehade | |
- during expansion, no longer create a new node for each result but try to lookup for an existing equivalent node and increment its reference count so that: a) we save on memory, b) we don't need to expand the same users again and again just because they keep appearing in expansion results. - while expanding, flag nodes as F_EXPAND_DONE so that we know which nodes we already processed - be smarter when expanding, if we have a clue that an iteration has not brought any new result (because no new nodes were added and all existing nodes have F_EXPAND_DONE), end expansion and proceed to delivery. - various small cleanups discussed with jacekm@ yesterday, rebuild aliases db, make clean | |||
2009-11-09 | support the userpart+foobar@domainpart syntax which got wiped when i wrote | Gilles Chehade | |
the virtual domains support as it was in my way. this time, make it work as it should: userpart+foobar@domainpart becomes: path->user = userpart+foobar path->domain = domainpart path->pw_name = userpart discussed quickly with jacekm@ | |||
2009-11-09 | fix, need to keep =version for "no need to update" to occur... | Marc Espie | |
2009-11-09 | document -F downgrades (note: for now, it's just the package name, we should | Marc Espie | |
look further at the signature if we can actually compare things) |