summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-09-02make sure to explicitly clear memory that is used for password input.Gleydson Soares
OK tedu@
2016-09-02If reading fails, do not go into infinite loop asking for a filenameOtto Moerbeek
Happens in bulf build where no tty is available. ok sthen@ naddy@ $(jot -b yes 1000) landry@
2016-09-02Drop non-encapulated ESP packets using a UDP-encapsulating TDB, and addVincent Gross
the relevant counters. Ok mikeb@
2016-09-01Fix file descriptor leakMark Lumsden
Found by Coverity Scan. The ffropen() function returns FIODIR when the file is a directory. Check return value on error, in case of directory, close the descriptor. Source Joachim Nilsson, ok sunil@
2016-09-01don't initialize variables with functionsTed Unangst
2016-09-01unconst these parameters; i won't be changing bsd auth today.Ted Unangst
2016-09-01add a -t keytype option for untrusted comment automatic key extractionMarc Espie
(not in VERIFYONLY mode) to be documented and used shortly okay tedu@
2016-09-01remove "sparc" from a commentIngo Schwarze
2016-09-01move "sparc" down to discontinued architecturesIngo Schwarze
2016-09-01Document all letters used for route flags in "netstat -r".Alexander Bluhm
OK jmc@ mpi@ sthen@
2016-09-01move the authentication code to a functionTed Unangst
2016-09-01Fix possible NULL pointer dereference.Sunil Nimmagadda
Found by Coverity Scan. The tagsvisit() function calls eread(), which may return NULL. This is then immediately passed to stat() without a proper check. This patch adds that check. From Joachim Nilsson <troglobit@gmail.com> via lum@. Ok lum@
2016-09-01remove sparc supportTed Unangst
2016-09-01keep the code that endian swaps, but remove the explanation that it'sTed Unangst
for converting between freebsd and sunos.
2016-09-01Display all route flags in "route get", "route show" and "netstat -r"Alexander Bluhm
output. Sort them according to the RTF_... defines in route.h. OK claudio@ mpi@
2016-09-01shorten s_client;Jason McIntyre
2016-09-01update currency exchange rates;Jason McIntyre
2016-08-31Complete do-over for column to prepare for implementing UTF-8 support.Martijn van Duren
Fix a few bugs while here, namely: - Fix the width-calculation of a tab-character - Correct treatment of files without trailing newlines. - Repair "-xc 7" - Overflow protection for the number of rows and columns Lots of help from and OK schwarze@ Get it in deraadt@
2016-08-31rlog: add -E and -S options to configure revision separators, toJoshua Stein
work around commits that might have the default strings in them ok tom deraadt
2016-08-31replace obsolete getpass with readpassphrase.Ted Unangst
ok gsoares
2016-08-31new: Joe Ossanna 1928-1977Ingo Schwarze
from Jan Stary <hans at stare dot cz>
2016-08-31Fix a bug reported by Han Boetes. Easily reproducible via:Mark Lumsden
mg c-x b RET c-x k RET mg segvs. Initial diff from Joachim Nilsson. This diff tested by Han and Joachim and ok florian@ jasper@
2016-08-31We don't need any VMS access tricks.Theo de Raadt
ok beck tedu
2016-08-31nicer format strings and use dprintf instead of writeTed Unangst
2016-08-31close an opened fd before returning from mainJonathan Gray
ok guenther@
2016-08-31When iterating over the list of input files close them whenJonathan Gray
processing of each is done. ok guenther@
2016-08-31fix fd leaks in error pathsJonathan Gray
ok guenther@
2016-08-30When the database is corrupt in the sense of containing invalidIngo Schwarze
pointers in the pages table, do not access NULL pointers, but gracefully handle the errors. Similar patches will be needed for the macro tables, too. <attila at stalphonsos dot com> audited the code and pointed out to me that dbm_get() can return NULL for corrupted databases, but that isn't handled properly at various places.
2016-08-30less confusing warning message about negative offsetsIngo Schwarze
2016-08-30Add OPTION_ARG_TIME for parsing a (64 bit if needed) time_tTheo de Raadt
prodding & ok jsing
2016-08-30buf[][] with strange use all over the place is ridiculous, especiallyTheo de Raadt
if buf[1] is never used. ok guenther beck
2016-08-30Fix 32-bit time handling, using time_t and make it work on systemsTheo de Raadt
where that is long long. ok beck guenther
2016-08-30shorten rsautl;Jason McIntyre
2016-08-30restrict monitor auth calls to be allowed only when theirDamien Miller
respective authentication methods are enabled in the configuration. prompted by Solar Designer; ok markus dtucker
2016-08-28fix uninitialised optlen in getsockopt() call; harmless on Unix/BSDDamien Miller
but potentially crashy on Cygwin. Reported by James Slepicka ok deraadt@
2016-08-28shorten the rsa text; of note, i've also reduced the descriptionJason McIntyre
for -inform/-outform/-text and removed the oft-repeated header/footer blurb;
2016-08-28If a line inside .Bl -column starts with a tab characterIngo Schwarze
and there was no preceding .It macro, do not read the byte before the beginning of the line buffer. Found by tb@ with afl@.
2016-08-28Check the MORE (or LESS) environment variables after forcing the variousNicholas Marriott
more(1) options, so it is possible to change them using MORE. From Ross L Richardson. ok deraadt millert
2016-08-27Kill empty window after moving pane and updating current window, so thatNicholas Marriott
index is still valid before renumber-windows happens. Fixes issue reported by Eric Pruitt.
2016-08-27shorten the req text;Jason McIntyre
2016-08-27Pull in <sys/select.h> for howmany() and NBBY, used by various net*/*.hPhilip Guenther
ok deraadt@
2016-08-27Pull in <sys/time.h> for struct timespec and timevalPhilip Guenther
ok deraadt@
2016-08-27Pull in <sys/time.h> for struct timevalPhilip Guenther
ok deraadt@
2016-08-27Pull in <stdlib.h> for NULLPhilip Guenther
ok deraadt@
2016-08-26Repeated occurances of the idiom buf[5][BUFSIZ] -- ridiculous. Give eachTheo de Raadt
buf a special name, recognize that most are PATH_MAX, and remove a few that are not needed at all. ok jsing beck
2016-08-26Pull in <time.h> for time()Philip Guenther
ok deraadt@
2016-08-26Pull in <time.h> for struct tm, used in rcs.hPhilip Guenther
ok deraadt@
2016-08-26Pull in <sys/select.h> for fd_setPhilip Guenther
ok deraadt@
2016-08-26Pull in <time.h> for ctime_r, gmtime, etcPhilip Guenther
ok deraadt@
2016-08-25add a sIgnore opcode that silently ignores options and use it toDamien Miller
suppress noisy deprecation warnings for the Protocol directive. req henning, ok markus