summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
1999-12-07make sure the client selects a supported cipherMarkus Friedl
1999-12-07extra setuid calls go awayTheo de Raadt
1999-12-06main prototype properly in main.c, remove dup.Marc Espie
1999-12-06Extra parameter no longer needed, ditch.Marc Espie
1999-12-06Instead of retrieving var values from the environment again and again,Marc Espie
it is much better to keep them in the global context, marked read-only. This also makes the next simplification possible, since var values need no longer be free'd by client code. (reviewed by ho@, like other patches)
1999-12-06Clean up buffers interface somewhat:Marc Espie
- buf.c deals exclusively with chars. Be explicit about it, and remove extraneous dumb casts to char (can hide real type errors). - buffer sizes are size_t. Note that bp->left can never become NULL. - Buf_GetAll is happy with a NULL pointer for the size, remove unneeded extra pointers. - Propagate size_t to all places where buffer functions are used.
1999-12-06Fix handling ofMarc Espie
VAR!= specifically, properly distinguish between bad commands and empty results.
1999-12-06- introduce interval_dup in str.cMarc Espie
- use it to replace .for parsing with something approaching sanity. (this removes one of the few most blatant misuses of Bufs in make. More changes to come... patch reviewed by ho@
1999-12-06Somehow I didn't delete that file...Marc Espie
1999-12-06atomicio() via libTheo de Raadt
1999-12-06move atomicio into it's own file. wrap all socket write()s which were doingTheo de Raadt
write(sock, buf, len) != len, with atomicio() calls.
1999-12-06properly name fd variableTheo de Raadt
1999-12-06check for ~ expansion past MAXPATHLENTheo de Raadt
1999-12-06fd leakTheo de Raadt
1999-12-06use openpty() if it exists (it does on BSD4_4)Theo de Raadt
1999-12-06display great hatred towards strcpyTheo de Raadt
1999-12-06so sorry angelos, I am too stressed out, reverted my goofup.Niklas Hallqvist
1999-12-06angelos, altering kernel structures may have impact on userland.Niklas Hallqvist
1999-12-06update to ncurses-5.0-19991204Todd C. Miller
1999-12-06Display esps_badencAngelos D. Keromytis
1999-12-06KNF. overflows exist, and are not easy to fixTheo de Raadt
1999-12-06prettyTheo de Raadt
1999-12-06oflowTheo de Raadt
1999-12-05- Document -d option.Aaron Campbell
- Add SEE ALSO section and Xr xargs(1) - Miscellaneous cleanup.
1999-12-05Fix temp file unlinking. We use atexit() since the libutil passwdTodd C. Miller
routines do their own exit.
1999-12-04o use nanosecond precision with the -newer optionTodd C. Miller
o add -anewer and -cnewer options like GNU find.
1999-12-04Avoid an oflow in failed(). There's really no need to make a temporaryTodd C. Miller
copy of the string since we are just printing to stderr.
1999-12-04oflowTheo de Raadt
1999-12-04more oflowsTheo de Raadt
1999-12-04oopsTheo de Raadt
1999-12-04oflowsTheo de Raadt
1999-12-04oflowTheo de Raadt
1999-12-04oflowTheo de Raadt
1999-12-04a few more overflows goneNiels Provos
1999-12-04Document the -I option; some minor formatting fixes as well.Aaron Campbell
1999-12-04revert strlcpy to strcpy for one case.Niels Provos
1999-12-04avoid overflowsNiels Provos
1999-12-04avoid overflowsTheo de Raadt
1999-12-04Fix 2 core dumps:Todd C. Miller
1) give an error if the user specifies > 20 -f options instead of oflowing 2) use snprintf in the ERROR macro to avoid an oflow
1999-12-04indentTheo de Raadt
1999-12-04carefulTheo de Raadt
1999-12-03off by one for string length calculationTheo de Raadt
1999-12-03the -s option was broken; spotted by tstromberg@rtci.com on freebsd-audit, ↵Theo de Raadt
but i have not seen them fix any of the bugs
1999-12-02warn only about mismatch if key is _used_Markus Friedl
1999-12-02indent, shorter warningMarkus Friedl
1999-12-02warn about keysize-mismatch with log() not error()Markus Friedl
1999-12-02set loglevel for SSH_MSG_DISCONNECT to log(), not fatal()Markus Friedl
1999-12-02indentMarkus Friedl
1999-12-02use error() for internal errorsMarkus Friedl
1999-12-02document $SSH_ASKPASS, reasonable defaultMarkus Friedl