Age | Commit message (Collapse) | Author |
|
ok claudio
|
|
diff from Philipp (philipp+openbsd [at] bureaucracy [dot] de), thanks!
ok sthen@
|
|
producing the wanted output at this point.
|
|
this means we can reliably read the provider/instance/name/unit
tuple, which should avoid "duplicate kstat entry" when multiple
kstat read handlers have issues.
found on a box with multiple rge interfaces, which have hardware
backed kstats that can only be read when the interface is up.
|
|
|
|
|
|
ok kn@ krw@
|
|
AddressFamily if one was specified. Fixes the case where, if
CanonicalizeHostname is enabled, ssh may ignore AddressFamily.
bz5326; ok dtucker
|
|
only consider enabling it when a channel with a tty is open.
Avoids turning on the obfucation when X11 forwarding only is in use,
which slows it right down. Reported by Roger Marsh
|
|
The disklabel UID passed in is not modified, reflect that and allow callers
using 'const char *'.
OK miod
|
|
From Arnold Robbins. https://github.com/onetrueawk/awk/pull/213
|
|
fnematch() expects to store a NUL byte when EOF is encountered.
However, the rewrite broke this assumption because r.len from getrune()
is zero on EOF. This results in j becoming negative on EOF, causing an
out-of-bounds access. It is simplest to just force r.len to 1 on EOF
to copy a single NUL byte--the rune is initialized to zero even for EOF.
This also fixes the call to adjbuf(). We cannot use 'k' to determine
when we need to expand the buffer now that we are potentially reading
more than a single byte at a time.
https://github.com/onetrueawk/awk/pull/211
|
|
and vice-versa; ok tb@
|
|
OK claudio@ miod@
|
|
While not verbose the status line is built as we go, so save errors from
signify until after we've finished the status line. This should exit and print
the error immediately, since this happens when fetching the SHA256.sig and
fw_update exits early in that case.
|
|
OpenBSD::PackageInfo::lock_db will send messages to STDERR if we ended up
waiting for a lock, if that happens, it stomped over the "fw_update:" prefix on
the status line so tidy up and print it out again.
|
|
Trap STDERR to post-process it looking for 404 errors to handle them differently.
The fetch method now also returns different error codes for errors that can
continue on. Currently only 404 is special and everything else should cause
fw_update to exit early without trying all the files.
Exit early if the SHA256.sig gets a 404 because that is required to figure out
what valid firmware are.
|
|
Mostly some setup for the future, by separating out the filehandles we use for
the status and errors more specifically, we can trap the things we know about
without hiding surprises.
|
|
|
|
These use static helper functions which don't need prototypes this way.
|
|
|
|
This makes "grep -m" behave like GNU grep (where the -m option
originated). From Crystal Kolipe.
|
|
This is for llvm 16; powerpc64 (like some other platforms) needs a
higher datasize limit to build base-clang 16.
ok jca@
|
|
|
|
Reported and suggested by jsing@
|
|
copy the file when processing if-shell since it may be freed. GitHub
issue 3746.
|
|
|
|
needed to build llvm-16 gnu/usr.bin/clang/include/llvm/AMDGPU
ok jca@
|
|
OK bluhm@
|
|
|
|
Missed in previous some time ago; while here remove confusing else.
Input & OK eric
|
|
|
|
7470 rev 00 is Radeon Pro W7700
found in AMD Software: PRO Edition for AMD Radeon PRO W7700
|
|
|
|
doesn't fail - new clang is even greedier than the old one.
I picked the value 1500M out of the air, it works for me but could perhaps
be finessed downwards a bit.
(I'm also using 1500M for make build / mkr+mkrx on i386; make -j8 build
is no longer a good idea on i386 ;)
|
|
|
|
svm_handle_np_fault() more clearer output
ok mlarkin@
|
|
in groff-1.01 to groff-1.22.4, to 5n for compatibility with Version 7 AT&T
UNIX, 4.3BSD-Reno, groff-1.23.0, and all versions of mdoc(7).
OK jmc@ millert@
|
|
In revision 1.424 the logic in rt_setgate() has changed. The old
code entered a value into rt_gateway also if rt_setgwroute() returned
an error. Now if rt_setgwroute() fails, rt_gateway is NULL and
ROUNDUP(rt->rt_gateway->sa_len) crashes.
Put back the old logic in rt_setgate(). Setting rt_gateway and
rt_gwroute are actually independent.
If malloc(9) in rt_setgate() fails, rt_gateway can still be NULL.
The subsequent crash in free(rt->rt_gateway, M_RTABLE,
ROUNDUP(rt->rt_gateway->sa_len)) was just never observed. Add a
NULL check around these free(9).
Reported-by: syzbot+2e79dd9db712d3c5ade9@syzkaller.appspotmail.com
OK mvs@
|
|
This converts to proper single exit and undoes a number of unnecessarily
silly muppet antics.
ok beck
|
|
Contrast "#define EVP_PKT_EXP 0x1000 /* <= 512 bit key */" with the diff:
- /* /8 because it's 1024 bits we look for, not bytes */
- if (EVP_PKEY_size(pk) <= 1024 / 8)
- ret |= EVP_PKT_EXP;
EVP_PKT_EXP will be nuked at the next opportunity.
discussed with jsing
|
|
|
|
ok beck jsing
|
|
This doesn't do much right now, but is part of the tangle that is adding
RSA-PSS support.
ok beck jsing
|
|
the OID() logic into MIBDECL().
Found, tested, and OK jca@
OK tb@
|
|
This is sad, but unfortunately, we never had time to grow it to its
intended use. It's been in maintenance mode for too long, and there
currently aren't concrete projects to pursue this direction further.
It can be revived when the time is ripe. Until then, let it not get
in the way of more urgent work.
discussed with jsing
|
|
|
|
|
|
ok deraadt@ kn@
|
|
This matches when BoringSSL has done, and allows for getting
rid of the dependency on system timegm() and gmtime() in libtls.
which will make life easier for portable, and remove our
dependency on the potentially very slow system versions.
ok tb@ - tb will handle the minor bump bits and expose
on the next minor bump
CVS :----------------------------------------------------------------------
|