Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-11 | sync | Theo de Raadt | |
2009-11-11 | memory leaks found by parfait; ok oga | Theo de Raadt | |
2009-11-11 | Spell. | Federico G. Schwindt | |
2009-11-11 | Rewrite a confusing loop when freeing the arg array on exit and move the check | Nicholas Marriott | |
for argv being NULL, prompted by parfait via deraadt. Also fix some definite brokenness when assigning multiple environment variables in arguments (such as "X=1 Y=2"). | |||
2009-11-11 | Add an explicit zero-length check for UTF-8 input data, prompted by a report | Nicholas Marriott | |
from parfait via deraadt. While here, add a statement to set the width when filling with _s if not enough space (width should never be high enough at the moment anyway), and wrap some long lines. | |||
2009-11-11 | fix leaks in error cases found by parfait | Jonathan Gray | |
ok blambert@ miod@ deraadt@ | |||
2009-11-11 | memory leaks, found by parfait; ok millert | Theo de Raadt | |
2009-11-11 | obvious use after free, found by parfait | Theo de Raadt | |
2009-11-11 | fix a few memory leaks, found by parfait; ok jsg | Theo de Raadt | |
2009-11-11 | add a icache flush which appears to make the machines even more stable | Theo de Raadt | |
(no crashes in nearly forever) ok kettenis | |||
2009-11-11 | memory leak with #ifdef SMALL, found by parfait | Theo de Raadt | |
ok jsg | |||
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 | do not walk off the prefix array, off by one; found by parfait | Theo de Raadt | |
ok jsg 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 | fix a buffer overflow found by parfait | Jonathan Gray | |
ok millert@ | |||
2009-11-11 | incorrect range check, > vs >=, on the error list, spotted by parfait | Theo de Raadt | |
ok otto jsg | |||
2009-11-11 | Let ioc(4) pass the information whether it is an onboard device or not, to its | Miod Vallat | |
subdevices; use this on iockbc to only perform the fuel workaround on the onboard ioc. | |||
2009-11-11 | Perform a bit more kbc initialization, instead of relying upon the prom to | Miod Vallat | |
do this for us; PS/2 ports on CADduo boards attach keyboard and mouse now. ok jsing@ | |||
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 | It turns out PCI IOC3 card which embed both the Ethernet controller and the | Miod Vallat | |
superio chip interrupt on two different pins (yet do not advertize themselves as a multi-function device, of course). So, on one hand, this makes the ioc attachment code simpler, because it simply needs to map interrupt pins A and B, and another hand, this moves all the interrupt knowledge to the PCI bridge driver, since routing of pin B differs whether the device is the onboard IOC3 chip (and able to use any of the 8 bridge interrupt sources...) or on a PCI board (with pin mapping sane, since controlled by the bridge). This makes superio interrupts on CADduo boards work. Tested to cause no regressions on Origin 200, Octane and Fuel. | |||
2009-11-11 | Plug two memory leaks in error pathes. Found by parfait. OK henning, jsg | Claudio Jeker | |
2009-11-11 | Free the pane bufferevent when the fd is closed (the signal could come before | Nicholas Marriott | |
the error callback). | |||
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 | Fix some memory leaks in error cases. | Jonathan Gray | |
Found by parfait. ok henning@ | |||
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 | Only need to chmod +x or -x the socket when a client is created, lost or | Nicholas Marriott | |
attached, rather than every event loop. | |||
2009-11-11 | Fix an obvious use after free. Found by parfait. Reported and OK jsg@ | Claudio Jeker | |
2009-11-11 | Regress for skipping evaluation of else-type conditional if previous | Federico G. Schwindt | |
corresponding one evaluted to true. espie@ ok. | |||
2009-11-11 | If this is an else-type conditional and previous corresponding one | Federico G. Schwindt | |
evaluated to true, skip. tested by simon@ and myself. espie@ ok. | |||
2009-11-11 | Pass the structure by reference. pointed out and ok by miod@ | Federico G. Schwindt | |
2009-11-10 | Use buffered fwrite(3) to build the udl Huffman table, | Marco Pfatschbacher | |
rather than doing 131074 write(2)s. OK mglocker, deraadt. | |||
2009-11-10 | Handle LOMlite2 in an interrupt-driven way; avoids using delay(9) once the | Mark Kettenis | |
machine is up and running. | |||
2009-11-10 | sync | Theo de Raadt | |
2009-11-10 | tweak previous; | Jason McIntyre | |