Age | Commit message (Collapse) | Author |
|
handler */
our snprintf is reentrant safe except for floating point.
Break the double apart into integer.integer notation, to avoid that.
ok kettenis millert
|
|
No object change.
|
|
correctly wouldn't be worth it. GitHub issue 2298.
|
|
notified of changes rather than having to poll. GitHub issue 2242.
|
|
|
|
this currently just dumps all the kstats it can find and prints out
their current values. in the future i want to be able to pass what
kstats im intersted in as arguments, and tell it to poll stats and
show rates instead of current values when appropriate.
|
|
|
|
renumber-windows is on, the window it wants to keep could be moved.
Change to renumber afterwards and also behave better if the window is
linked into the session twice. GitHub issue 2287.
|
|
Fetch aborts through SIGINT (^C) print a message with fputs(3), but this
calls malloc() on its own, which is not supported from interrupt handler
context.
Fix it by using write(2) which avoids further memory allocations.
While here, merge abortfile() into the identical aborthttp() with a more
generic "fetch aborted." message for simplicity.
Spotted with vm.malloc_conf=SU and ^C on a port's "make fetch" causing
ftp(49660) in malloc(): recursive call
Abort trap (core dumped)
OK jca (who came up with using write(2) independently)
|
|
Consistently disarm the SIGINT handler on error, else a SIGINT can lead
to taking twice the cleanup path. Initial report by naddy@, ok tb@
|
|
|
|
|
|
|
|
SSH_CHANNEL_MUX_LISTENER; Specifically SSH_CHANNEL_MUX_PROXY channels
should not have this structure freed.
|
|
it here causes other problems
|
|
|
|
in chroot mode, the likely absence of a password database will cause
tilde_expand_filename() to fatal; ok dtucker@
|
|
|
|
after the session child process is forked(); ok dtucker@
|
|
select() loop; fixed theoretical case where busy sshd may ignore
timeouts from client; inspired by and ok dtucker
|
|
and ignore traffic from a port forwarding client, preventing a client from
keeping a connection alive when it should be terminated. Based on a patch
from jxraynor at gmail.com via openssh-unix-dev and bz#2265, ok djm@
|
|
ok dtucker
|
|
|
|
|
|
The length of SUBSEP needs to be rechecked after calling execute(),
in case SUBSEP itself has been changed. From tim@
|
|
Concatenation evaluated both sides of the expression before doing
its work, which, since assign() evaluates to the cell being assigned
to, meant that expressions like "print (a = 1) (a = 2)" would print
"22" rather than "12". From Tim van der Molen
|
|
|
|
|
|
at Flexera. ok deraadt@
|
|
The first file using it in .Dt was just committed by kettenis@.
|
|
As a result remove unneeded variables
OK @nicm
|
|
|
|
|
|
mutually exclusive values. It's the same as SIOCTL_LIST except that
exactly one list element may be selected.
|
|
OK jmc@ kn@
|
|
OK djm@
|
|
|
|
|
|
The order of commands is not in sync between help page and manual, but I
refrained from reordering to avoid churn.
OK millert
|
|
Previously, our awk suffered from a bug where FS was applied too late.
This fix has the potential to cause problems for awk scripts written
to the old (buggy) behavior. The current behavior is consistent
with other awk implementations such as mawk and gawk.
|
|
Those are global variables are (zero) initialised as such already and
machine_init() is called only once upon startup.
OK mvs
|
|
The freedb.org CD track database has been discontinued.
Retire cddb/888 from /etc/services. Nothing uses this any longer.
gnudb.org uses the "cddbp-alt" port of 8880, but we don't need a
services(5) entry for a single site.
ok deraadt@
|
|
|
|
|
|
the change introduced a NULL deref in sshpkt_vfatal() (uses of ssh->kex after
calling ssh_packet_clear_keys())
|
|
Merges with a file that lacks newlines (\n) were triggering a fatal error.
This could be easily reproduced with merge(1) and diff3(1):
$ echo foo > foo
$ echo bar > bar
$ echo -n baz > baz
$ merge -p foo bar baz
merge: failed to merge
$ diff3 -E foo bar baz
1a
=======
diff3prog: logic error
$
Fix this by properly handling short reads from the third file argument.
Only the third file argument triggered the problem. The other input
files were already handled correctly.
ok millert@
|
|
outside ~/.ssh; with dtucker@
|
|
bz#3071; ok dtucker@
|
|
bz#3180; ok dtucker@
|
|
|