Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-28 | Start with empty rather than NULL window name to avoid NULL printf if | Nicholas Marriott | |
window_name is evaluated early. Reported by Mikolaj Kucharski. | |||
2019-10-27 | + resets P as well | kn | |
The manual has it, complete the help screen. OK millert | |||
2019-10-26 | Remove common from "common options" in usage to be closer to SYNOPSIS. | Martijn van Duren | |
Discussed with jmc@ | |||
2019-10-26 | Shorten the SYNOPSIS greatly. | Martijn van Duren | |
While here also fix some wrong definitions. With help from jmc@ Requested by and OK deraadt@ | |||
2019-10-24 | Service names are still resolved with -n | kn | |
Just like pfctl(8)'s -N, this flag only avoid DNS; "nc -vz ::1 socks" still works. Fix documentation by copying pfctl's wording. OK deraadt | |||
2019-10-24 | add missing unveil of /etc/shells; ok benno@ deraadt@ mestre@ tb@ | anton | |
2019-10-24 | Print IP address in verbose mode | job | |
OK kn@ | |||
2019-10-24 | The ber_* namespace is used by liblber since time immemorial, | Theo Buehler | |
so move our BER API to the unused ober_* prefix to avoid some breakage in ports. Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen. tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt | |||
2019-10-23 | list -N before -n in the options list; | Jason McIntyre | |
2019-10-23 | Add new -N name option, so that calling scripts can change the | Theo de Raadt | |
progname and produce better error messages discussed with aja and jca | |||
2019-10-23 | change some error reports to include the failing URL (which we vis, in | Theo de Raadt | |
case it came via a redirect) some help from jca, discussed with aja | |||
2019-10-23 | Document Any key, from Jason Felice. | Nicholas Marriott | |
2019-10-23 | Revert previous, which works for -N case but causes regress failures | Bob Beck | |
for tls, since the socket is shut down without calling tls_close(). Since nc appears to have a problem with this in other shutdown() cases I am simply going to bake a new diff for this. noticed by bluhm@. | |||
2019-10-23 | Use the existing code in format.c to add foramts for word and line at | Nicholas Marriott | |
cursor position in copy mode, from Anindya Mukherjee. | |||
2019-10-22 | fixes from lucas; | Jason McIntyre | |
2019-10-22 | Import regenerated moduli file. | Darren Tucker | |
2019-10-19 | Add formats for cursor and selection position in copy mode, from Jason Felice. | Nicholas Marriott | |
2019-10-19 | Do not crash trying to fix layout size if only one cell, from Azat Khuzhin. | Nicholas Marriott | |
2019-10-18 | add some checks to avoid UID_MAX (-1) here. this is not problematic with | Ted Unangst | |
the current code, but it's probably safer this way. ok deraadt | |||
2019-10-17 | Use -1 to indicate an invalid uid/gid, not UID_MAX and GID_MAX. | Todd C. Miller | |
This is the userland portion. OK deraadt@ sashan@ | |||
2019-10-17 | Fix -N flag to actually shut down the (entire) socket when the input | Bob Beck | |
goes away. This allows for using nc in cases where the network server will no longer expect anything after eof, instead of hanging waiting for more input from our end. Additionaly, shut down if tls is in use if either side of the socket goes away, since we higher level TLS operations (tls_read and write) will require the socket to be both readable and writable as we can get TLS_WANT_POLLIN or TLS_WANT_POLLOUT on either operation. deraadt@ buying it. found by sthen@ | |||
2019-10-16 | potential NULL dereference for revoked hostkeys; reported by | Damien Miller | |
krishnaiah bommu | |||
2019-10-16 | free buf before return; reported by krishnaiah bommu | Damien Miller | |
2019-10-15 | Include the .SUNW_ctf section in bsd.gdb | Martin Pieuchot | |
Once the section has been built from the DWARF symbols also add it to the debug kernel. That makes ddb(4) print the correct number of args in function backtraces in such kernel as well. While here make comment fit in 80 columns. ok jasper@ | |||
2019-10-15 | Rewrite options_array_set to be clearer and remove a spurious warning | Nicholas Marriott | |
with newer GCC. From Ben Boeckel. | |||
2019-10-15 | Add support for percentage sizes for resize-pane ("-x 10%"). Also change | Nicholas Marriott | |
split-window and join-pane -l to accept similar percentages and deprecate -p. From Anindya Mukherjee. | |||
2019-10-15 | When setting the modification time on the retrieved file, use utimensat() | Philip Guenther | |
with UTIME_OMIT for the atime, instead of setting the atime to the current time. ok jca@ cheloha@ | |||
2019-10-14 | pledge() won't work but we can use unveil() to reduce filesystem access | Theo de Raadt | |
in these 3 related programs (they borrow parts of each other using .PATH) Hopefully no regressions, ktrace checks by myself and mestre | |||
2019-10-14 | some knf, preparing for other changes | Theo de Raadt | |
2019-10-14 | Do not crash with pane_current_command if the pane is newly created and | Nicholas Marriott | |
has no shell set, from Thomas Adam. | |||
2019-10-14 | Turn automatic-rename back on if the rename escape sequence is used with | Nicholas Marriott | |
an empty name, GitHub issue 1921. | |||
2019-10-14 | Some old tmux versions can sometimes generate layout strings which have | Nicholas Marriott | |
the incorrect size for the top cell. Previously tmux didn't care but now that panes can be partly hidden, the size matters and is checked more strictly. So add some code to fix up the most common problem and a sanity check to reject layouts with any other size problems. Reported by Aleksandrs Ledovskis in GitHub issue 1930. | |||
2019-10-14 | Memory leaks, from Igor Wong in GitHub issue 1934. | Nicholas Marriott | |
2019-10-14 | memleak in error path; spotted by oss-fuzz, ok markus@ | Damien Miller | |
2019-10-13 | Also close the server connection before retrying on a 503. | Jeremie Courreges-Anglas | |
Keeping it around uses both local and remote resources for no good reason. ok job@ | |||
2019-10-13 | Factor out socket cleanup code | Jeremie Courreges-Anglas | |
As a side effect this shuts down the TLS connection before closing the underlying socket for redirectionss. ok job@ | |||
2019-10-11 | don't use sizeof(pointer) to represent buffer size | Jonathan Gray | |
ok martijn@ deraadt@ | |||
2019-10-09 | On a 503, only retry if "Retry-After: 0" is present. | Jeremie Courreges-Anglas | |
We just bail out if the header is absent or if the server tells us to wait. Prodding from job@, ok sthen@ deraadt@ | |||
2019-10-09 | Use snprintf instead of sprintf. | Martijn van Duren | |
Requested by and OK deraadt@ | |||
2019-10-09 | openssh-8.1 | Damien Miller | |
2019-10-09 | fix an unreachable integer overflow similar to the XMSS case, and some | Damien Miller | |
other NULL dereferences found by fuzzing. fix with and ok markus@ | |||
2019-10-09 | fix integer overflow in XMSS private key parsing. Reported by | Damien Miller | |
Adam Zabrocki via SecuriTeam's SSH program. Note that this code is experimental and not compiled by default. ok markus@ | |||
2019-10-08 | Correct type for end-of-list sentinel; fixes initializer warnings on | Darren Tucker | |
some platforms. ok deraadt. | |||
2019-10-08 | Simplify threads flag handling | kn | |
Instead of always passing the threads flag which decides whether other function arguments are used or not, make callers pass those arguments or NULL depending on the threads flag. This reflects better how thread IDs are shown in place of user names/IDs. OK millert | |||
2019-10-08 | Free the "e" element in ber_printf_elements if it fails, since there's no | Martijn van Duren | |
chance that it's part of the new ber structure. Feedback and OK claudio@ | |||
2019-10-08 | Don't rely on the pdu returning the correct errorindex. | Martijn van Duren | |
Noticed by semarie@ Feedback and OK claudio@ | |||
2019-10-08 | Replace "boolean.h" with <stdbool.h> | kn | |
Be consistent with other programs in base and unify variable usage as follows to improve readability: bool = (bool == No) ? Yes : No -> bool = !bool if (bool == Yes) -> if (bool) if (bool == No) -> if (!bool) bool = Maybe -> bool = -1 OK millert | |||
2019-10-07 | reversed test yielded incorrect debug message | Damien Miller | |
2019-10-07 | jmc is a stickler for consistency. | Ted Unangst | |
2019-10-07 | add --label to usage. thx jmc | Ted Unangst | |