Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-19 | remove duplicate includes | Jonathan Gray | |
2023-04-17 | Ignore the user keys range when checking if a key is Unicode. | Nicholas Marriott | |
2023-04-17 | It seems silly to use progname for version, just always say tmux. | Nicholas Marriott | |
2023-04-17 | Make the check if printing is allowed the same as writing which is less | Nicholas Marriott | |
confusing. | |||
2023-04-17 | Discard mouse sequences that have the right form but actually are | Nicholas Marriott | |
invalid (for example have column zero rather than one). | |||
2023-04-17 | fix buffer overflow in displaymatch(); ok/tweak tb@ | Omar Polo | |
2023-04-17 | fix a few dobeep_msgs() calls: a space is already added between the arguments | Omar Polo | |
ok tb@ | |||
2023-04-17 | add doindent() prototype at the start of the file; forgotten in previous | Omar Polo | |
2023-04-17 | resurrect mg' no-tab-mode | Omar Polo | |
It's a mode that makes mg insert spaces up to the next tab stop upon pressing TAB, along with the various tweaks needed in other places so for e.g. auto-indent-mode also uses spaces. This is not just an unifdef NOTAB: even under no-tab-mode mg should consider literal TAB characters wide up to the next tab stop, while the hidden code considered hard tabs to be just control character (i.e. ^I) with width of two columns. I'm also introducing the helper function doindent() in utils.c to de-obfuscate the insertion of tabs/spaces until the given column. ok tb@ | |||
2023-04-17 | fix a macro and tweak punctuation; | Jason McIntyre | |
2023-04-16 | Add a -u label option to print selected utrace records, used by upcoming | Otto Moerbeek | |
malloc (leak) dump fucntion. ok semarie@ | |||
2023-04-14 | Add a missing void | Theo Buehler | |
2023-04-14 | Drop policy printing from openssl | Theo Buehler | |
Nothing really uses the policy tree. It's desgined with built-in DoS capabilities directly from the RFC. It will be removed from the attack surface and replaced with something equivalent that doesn't grow exponentially with the depth. This removes the only reason the policy tree itself ever leaked out of the library. ok jsing | |||
2023-04-14 | Fix double free in error path in openssl(1) x509 | Theo Buehler | |
A conversion from X509_REQ_get_pubkey() to X509_REQ_get0_pubkey() missed one free of pkey in an unlikely error path. After the conversion pkey is no longer owned by us, so we mustn't free it. ok jsing | |||
2023-04-12 | correct the entry for chilepeso; from jan stary | Jason McIntyre | |
2023-04-12 | remove duplicate signal.h include | Jonathan Gray | |
2023-04-12 | fix double words | Jonathan Gray | |
ok dtucker@ | |||
2023-04-12 | Fix 24bit maximum/mask in manpage. Noticed by wangqr on github. | Claudio Jeker | |
2023-04-09 | Remove X9.31 support from openssl(1) | Theo Buehler | |
The X9.31 standard has long been retired and deprecated and libcrypto will drop support for it soon. This prepares userland. ok jsing | |||
2023-04-09 | Minor code cleanup | Theo Buehler | |
Unwrap a few awkwardly wrapped lines, drop redundant parentheses and add empty lines after some variable declarations. No change in the generated assembly. | |||
2023-04-06 | simplify sshsig_find_principals() similar to what happened to | Damien Miller | |
sshsig_check_allowed_keys() in r1.31, removing some dead code | |||
2023-04-06 | remove redundant ssh!=NULL check; we'd already dereferenced it | Damien Miller | |
2023-04-06 | match_user() shouldn't be called with user==NULL unless | Damien Miller | |
host and ipaddr are also NULL | |||
2023-04-06 | don't care about glob() return value here. | Damien Miller | |
2023-04-03 | Move null check up and simplify process_escapes. Based on Coverity CID | Darren Tucker | |
291863 which points out we check the channel pointer for NULLness after dereferencing it. Move this to the start of the function, and while there simplify initialization of efc a bit. ok djm@ | |||
2023-04-03 | Clarify text for new -A slightly, GitHub issue 3508. | Nicholas Marriott | |
2023-04-02 | add Ryuichi Sakamoto. rest in peace. | Stuart Henderson | |
2023-04-01 | horrible whitespace, mostly on non-code lines. no object change | Theo Buehler | |
2023-03-31 | Explicitly ignore return from waitpid here too. | Darren Tucker | |
2023-03-31 | Explictly ignore return codes where we don't check them. From Dmitry | Darren Tucker | |
Belyavskiy via github PR#238, ok djm@ | |||
2023-03-31 | Return immediately from get_sock_port if sock <0 so we don't call | Darren Tucker | |
getsockname on a negative FD. From Coverity CID 291840, ok djm@ | |||
2023-03-31 | don't leak arg2 on parse_pubkey_algos error path; ok dtucker@ | Damien Miller | |
2023-03-31 | clamp max number of GSSAPI mechanisms to 2048; ok dtucker | Damien Miller | |
2023-03-31 | don't print key if printing hostname failed; with/ok dtucker@ | Damien Miller | |
2023-03-31 | remove redundant test | Damien Miller | |
2023-03-31 | don't attempt to decode a ridiculous number of attributes; | Damien Miller | |
harmless because of bounds elsewhere, but better to be explicit | |||
2023-03-31 | remove unused variable; prompted by Coverity CID 291879 | Damien Miller | |
2023-03-31 | Check fd against >=0 instead of >0 in error path. The dup could | Darren Tucker | |
in theory return fd 0 although currently it doesn't in practice. From Dmitry Belyavskiy vi github PR#238. | |||
2023-03-30 | drop unnecessary copy of fname; ok tb@ | Omar Polo | |
2023-03-30 | tabify two lines | Omar Polo | |
2023-03-30 | don't access(conffile) | Omar Polo | |
This removes a few access(2) calls in the configuration file handling. startupfile() now opens and return the file and to avoid surprises it also uses a caller-provided buffer to store the filename. This also removes the extra adjustpath() that load() did: it has been moved to evalfile() only. with help, fixes and ok tb@ | |||
2023-03-30 | trailing whitespaces | Omar Polo | |
2023-03-30 | strncpy -> strlcpy to properly NUL-terminate the copy of the path | Omar Polo | |
otherwise paths longer than NFILEN (1024) given with -u won't NUL-terminate `file'. | |||
2023-03-30 | Ignore return value from muxclient(). It normally loops without returning, | Darren Tucker | |
but it if returns on failure we immediately exit. Coverity CID 405050. | |||
2023-03-30 | return SSH_ERR_KEY_NOT_FOUND if the allowed_signers file is empty, | Damien Miller | |
not SSH_ERR_INTERNAL_ERROR. Also remove some dead code spotted by Coverity; with/ok dtucker@ | |||
2023-03-30 | Remove dead code from inside if block. The only way the if statement can | Darren Tucker | |
be true is if both dup()s fail, and in that case the tmp2 can never be set. Coverity CID 291805, ok djm@ | |||
2023-03-29 | plug leak of tagpos in poptag() if loadbuffer() fails | Omar Polo | |
2023-03-29 | drop needless global tagsfn path | Omar Polo | |
mg kept the path to the last loaded tag file in tagsfn which was used for both the lazy loading (now removed) and as a flag to know if any tags are currently loaded. It's redundant and complicates the code: just check if the tree is empty instead. ok tb@ | |||
2023-03-29 | change tagvisit (aka visit-tag-table) to immediately load the tag file | Omar Polo | |
before it used to only record the path to the tag file which was loaded on demand upon find-tag (M-.). tagvisit did to do a stat + access dance to know if the path was pointing to a regular, readable file and loadtags (called lazily by find-tag) trusted those checks... Instead, just load the tags in tagvisit and drop the lazy mechanics. ok tb@ | |||
2023-03-29 | Explicitly ignore return value from sshpkt_disconnect since we set our | Darren Tucker | |
own return value for the function. Coverity CID 291797, ok djm@ |