summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-12Don't reuse a loop counter specifying the size of an array outsideJonathan 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-12Use the number of products in the terminating condition when iteratingJonathan Gray
through the products array not the number of vendors. found by parfait ok deraadt@ miod@ mglocker@
2009-11-12Emulate the ri (reverse index) capability: this allows tmux to at least startNicholas Marriott
on Sun consoles (TERM=sun or sun-color), even if there appear to still be problems on some boxes (my Blade 100 is fine but edd's Blade 1000 shows odd screen corruption).
2009-11-12Support rxvt-style keys again, but this time: support all the variations, putNicholas Marriott
them in as raw escape sequences rather than fiddling with the values from terminfo, put them /after/ the terminfo values so the latter take precedence.
2009-11-12Use the default 4 correctly if no type size is given to od -t.Nicholas Marriott
ok deraadt miod
2009-11-12When values are changed, log the change in the ``name: old -> new''Alexandre Ratchov
format, as mixerctl does. If -n is used log the new value only. from Pawlowski Marcin Piotr <pmp.openbsd at gmail.com>, thanks. ok jakemsr
2009-11-12if a value is changed and -n is used, print the new value only.Alexandre Ratchov
from Pawlowski Marcin Piotr <pmp.openbsd at gmail.com> ok jakemsr
2009-11-12be paranoid in case the action array changes size (again, grr)Theo de Raadt
ok dlg
2009-11-12count packets; from claudioTheo de Raadt
2009-11-12revert midlayer back to it was before i put my big rewrite in. this isDavid Gwynne
causing a weird problems on an alpha and also appears responsible for isp(4) weirdness i havent had a chance to examine yet. sigh, this makes me sad.
2009-11-12change back to preferring kqueue, now that nicm, tedu and i haveTheo de Raadt
fixed it (or, all the issues we are aware of so far). discussed with nicm
2009-11-12a sprinkle of knfTheo de Raadt
2009-11-12respect the block size returned by the driverJacob Meuser
2009-11-12oops my slow editor conspired against meTheo de Raadt
2009-11-12malloc() after line length check, to avoid memory leak; ok teduTheo de Raadt
2009-11-12if the table got messed up, early loop termination is not gauranteed, andTheo de Raadt
subsequent code will be out of bounds; unlikely situation. found by parfait ok weingart
2009-11-12fix read-one-beyond-of-array errors; ok sthen jsgTheo de Raadt
2009-11-11Fix memory leaks found by parfait.Nicholas Marriott
ok deraadt@ jsg@
2009-11-11fix memory leak found by parfaitJacob Meuser
2009-11-11memory leak found by parfaitTheo de Raadt
2009-11-11spacingTheo de Raadt
2009-11-11fixup of locking issues with sdmmc, which were causingJasper Lievisse Adriaanse
"locking against myself" panics as found the hard way by several. diff by blamert@ with input from oga@, committing bret's behalf. ok todd@
2009-11-11fix race condition in x11/agent channel allocation: don't read afterMarkus Friedl
the end of the select read/write fdset and make sure a reused FD is not touched before the pre-handlers are called. with and ok djm@
2009-11-11syncTheo de Raadt
2009-11-11memory leaks found by parfait; ok ogaTheo de Raadt
2009-11-11Spell.Federico G. Schwindt
2009-11-11Rewrite a confusing loop when freeing the arg array on exit and move the checkNicholas 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-11Add an explicit zero-length check for UTF-8 input data, prompted by a reportNicholas 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-11fix leaks in error cases found by parfaitJonathan Gray
ok blambert@ miod@ deraadt@
2009-11-11memory leaks, found by parfait; ok millertTheo de Raadt
2009-11-11obvious use after free, found by parfaitTheo de Raadt
2009-11-11fix a few memory leaks, found by parfait; ok jsgTheo de Raadt
2009-11-11add a icache flush which appears to make the machines even more stableTheo de Raadt
(no crashes in nearly forever) ok kettenis
2009-11-11memory leak with #ifdef SMALL, found by parfaitTheo de Raadt
ok jsg
2009-11-11correctly order the range check and use the right limits, pointed out by parfaitTheo de Raadt
ok claudio millert
2009-11-11do not walk off the prefix array, off by one; found by parfaitTheo de Raadt
ok jsg millert
2009-11-11Fix previous. When configured to relay via IP address, MX lookup would failJacek 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-11patch a whole bunch of memory leaks, parfait only spotted one of themTheo de Raadt
ok miod jsg
2009-11-11fix a buffer overflow found by parfaitJonathan Gray
ok millert@
2009-11-11incorrect range check, > vs >=, on the error list, spotted by parfaitTheo de Raadt
ok otto jsg
2009-11-11Let ioc(4) pass the information whether it is an onboard device or not, to itsMiod Vallat
subdevices; use this on iockbc to only perform the fuel workaround on the onboard ioc.
2009-11-11Perform a bit more kbc initialization, instead of relying upon the prom toMiod Vallat
do this for us; PS/2 ports on CADduo boards attach keyboard and mouse now. ok jsing@
2009-11-11Check if the receive buffer has any unused space before reading from socket inJacek Masiulaniec
buf_read (and in ssl_buf_read).
2009-11-11It turns out PCI IOC3 card which embed both the Ethernet controller and theMiod 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-11Plug two memory leaks in error pathes. Found by parfait. OK henning, jsgClaudio Jeker
2009-11-11Free the pane bufferevent when the fd is closed (the signal could come beforeNicholas Marriott
the error callback).
2009-11-11Don't leak memory in error case.Jonathan Gray
Found by parfait.
2009-11-11don't leak memory in an error case.Jonathan Gray
found by parfait.
2009-11-11vsystem, system, unlink can mostly go through state, and do the ->clear partMarc Espie
as well.
2009-11-11remove extra warningsMarc Espie