Age | Commit message (Collapse) | Author |
|
ok deraadt natano
|
|
|
|
|
|
The instbin stuff looks good to deraadt@
|
|
ok beck
|
|
into the read callback several times in succession; swap back when we
see empty buffers several times. This hopefully limits how much programs
that print a lot for a long period can monopolize tmux (like large, fast
compiling), without penalizing programs that print a lot briefly (like
most curses applications). Helps a lot for me, the actual numbers may
need tweaking later.
|
|
- Changed 'format_and_print' argument type to int64_t and casting
inside the function
- Declaring 'print_counts', 'format_and_print', and 'cnt' as static
- Remove unnecessary cast for NULL, and (void) casts from printfs,
'mbtowc' and 'format_and_print' calls
- In 'cnt', change bufsz type from ssize_t to size_t to avoid
converting between pointers to integer types with different sign
when calling getline (catched when compiling with Clang)
- Use return instead of exit in main
OK jung@
|
|
|
|
|
|
|
|
the data structures are now readable without _KERNEL needing to be defined.
ok deraadt@
there's probably a lot more of these that can be cleaned up if
anyone is interested in looking into it.
|
|
ok tedu
|
|
|
|
From Andy Bradford
|
|
|
|
for AuthorizedKeysCommand (key, key type, fingerprint, etc) and a
few more to provide access to the certificate's CA key;
'looks ok' dtucker@
|
|
|
|
isascii() with ANSI ctype macros/functions. Eliminating the macros
makes the code clearer. OK jca@
|
|
special case elsewhere.
|
|
Reported by mb AT smartftp.com in bz#2547 and (independantly)
Ron Frederick; ok markus@
|
|
in a directory without read permission. OK lum@
|
|
and set the default repeat count to 5 for WheelUp and WheelDown in
copy-mode.
|
|
help/ok guenther bcook
|
|
|
|
|
|
rather than pulling <sys/param.h> and unknown namespace pollution.
ok djm markus dtucker
|
|
ok schwarze@
|
|
|
|
|
|
This will be important as soon as we start building release sets without
root privileges.
ok deraadt guenther
|
|
|
|
Coverity Scan found this interesting buglet. If read() fails the code,
before this patch, would trigger a "Negative array index write".
ok florian@
|
|
|
|
|
|
|
|
Collect forked off children from M-| command
Mg left zombies from commands executed when piping a region of text to
an external command. This patch makes sure to collect for the child
before returning.
ok sunil@ millert@
|
|
|
|
|
|
|
|
Found by Coverity Scan. The popbuf() function iterated over a list to
find a wp pointer, then sent it to showbuffer() which immediately went
ahead and dereferenced it. This patch simply adds a NULL pointer check
before calling showbuffer(), if NULL then just return NULL to callee.
ok awolk@ millert@
|
|
123
456
With the cursor on either the 4, 5 or 6 and no newline after the '6',
and then execute forward-paragraph (M-}), the cursor sits still and
does not move to the end of the second line (after the 6), which is in
effect the end of parapraph. This diff fixes that behaviour.
|
|
|
|
ext_info if privsep is disabled; report Aris Adamantiadis & Mancha; ok djm@
|
|
are not safe in 2016 and we don't want to wait until attacks like sweet32
are extended to SSH.
As 3des-cbc was the only mandatory cipher in the SSH RFCs, this may
cause problems connecting to older devices using the defaults, but
it's highly likely that such devices already need explicit
configuration for KEX and hostkeys anyway.
ok deraadt, markus, dtucker
|
|
for testing; ok markus@
|
|
|
|
Coverity Scan reported these two stack variables as uninitialized, in
particular the .r_lineno struct member was uninitialized. This patch
clears the 'struct region' rather than setting .r_lineno because if
any more struct members are added in the future the clear will cover
them too.
Source Joachim Nilsson. ok tom@ millert@
|
|
Feedback and OK schwarze@
|
|
|
|
ok jsing@
|