summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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
2016-08-25remove superfluous NOTREACHED commentDamien Miller
2016-08-25when using -o, we may restart a match in the middle of the line.Ted Unangst
set NOTBOL so that anchored patterns don't match. from a patch by Daniël de Kok in freebsd bug 201650 ok martijn
2016-08-25shorten the pkeyutl text;Jason McIntyre
help/ok guenther
2016-08-25Do not crash if display-message used without a client, issue reported byNicholas Marriott
Serge Aleynikov, fix from Thomas Adam.
2016-08-24shorten the pkeyparam text;Jason McIntyre
2016-08-24shorten the pkey text;Jason McIntyre
2016-08-24Convert quad_t to int64_t and %q to %llPhilip Guenther
Convert bzero() to memset() and bcopy() to memcpy() ok natano@ millert@
2016-08-23shorten pkcs12;Jason McIntyre
2016-08-23fix previous, a condition was modified incorrectly; ok markus@ deraadt@Otto Moerbeek
2016-08-23downgrade an error() to a debug2() to match similar casesDamien Miller
in addr_match_list()
2016-08-23fix negated address matching where the address list consists of aDamien Miller
single negated match, e.g. "Match addr !192.20.0.1" Report and patch from Jakub Jelen. bz#2397 ok dtucker@
2016-08-23fix matching for pattern lists that contain a single negated match,Damien Miller
e.g. "Host !example" report and patch from Robin Becker. bz#1918 ok dtucker@
2016-08-22Two minor fixes from dilyan palauzov.Nicholas Marriott
2016-08-22Replace "union sockunion" with "union sockaddr_union" which is alsoTodd C. Miller
used in the kernel. This makes it possible to remove the casts to "struct sockaddr *" when calling networking syscalls. OK jsing@ jca@
2016-08-22When trying to edit an existing database with makewhatis(8) -d or -uIngo Schwarze
but reading the database fails, report the full path to the database on standard error, and mention that the database is automatically recreated from scratch. Suggested by espie@.
2016-08-22When running into a mandoc.db(5) file still using the obsoleteIngo Schwarze
format based on SQLite 3, say so in words that mortals can understand rather than babbling about hex magic. Suggested by espie@.
2016-08-22shorten the pkcs8 text;Jason McIntyre
2016-08-22Sorry Andrew and Luke, I'm pretty sure we deleted your IRIX and VMS code.Theo de Raadt
2016-08-21Change sleep from crazy backoff to one second of sleep between retriesBob Beck
ok deraadt@
2016-08-20Use connect(2) + a connect_wait() function instead of connect_sync(),Todd C. Miller
similar to the example in connect(2). OK tedu@
2016-08-20When a mismatching end macro occurs while at least two nested blocksIngo Schwarze
are open, all except the innermost open block got a bogus MDOC_ENDED marker, in some situations triggering segfaults down the road which tb@ found with afl(1). Fix the logic error by figuring out up front whether an end macro has a matching body, and if it hasn't, don't mark any blocks as broken.
2016-08-20When scanning upwards for a column list to put a .Ta macro in,Ingo Schwarze
ignore body end markers of lists breaking other blocks. Fixing a logical error that caused a NULL deref found by tb@ with afl(1).
2016-08-20If a column list starts with implicit rows (that is, rows without .It)Ingo Schwarze
and roff-level nodes (e.g. tbl or eqn) follow, don't run into an assertion. Instead, wrap the roff-level nodes in their own row. Issue found by tb@ with afl(1).
2016-08-20shorten pkcs7 text;Jason McIntyre
2016-08-20shorten the passwd text; ok jsingJason McIntyre
2016-08-19update man pages now that login.conf uses auto roundsDaniel Jakots
better wording/ok sthen@ ok jmc@
2016-08-19shorten the ocsp text; ok beckJason McIntyre