Some mapchar emulops require a question mark character, so don't permit
loading if that is missing (bounded by firstchar and numchars).
An AI triage report made a hastly conclusion there were bigger problems
here but Miod figures it is just this ? problem.
diff from miod
report from Bruce Dang of Calif.io
devel/codex: update to 0.121.0; recovery code mode; claim maintainership
patches which cut off code mode from codex grows, and I think soon it
will make that tool useless.
Here an opposite approach: build v8 which is requried for code mode.
For now it is limited only for amd64 and arm64.
vio: recover from missed RX interrupts
It seems at least on Oracle Cloud (arm64, KVM) and on vmd, sometimes rx
interrupts get lost. As a workaround, check the virtqueues in vio_rxtick(),
which allows to recover from this situation.
Diff from renaud@
tested by mbuhl@
ok stsp@
The struct kfino_vmentry copied to userland is 80, and (depending
on architecture?) has 7 bytes of padding at the end, which is
uninitialized. Use M_ZERO.
from tgs
don't lowercase K_AUTH lookups
this diff has circulated for a while, being written and re-written by
different people. In this case, I'm taking Pietro Cerutti's version.
Avoid undefined behaviour in the community code by checking nentries to
be not 0 before memcmp, bsearch or siphash calls.
Calling these functions with a NULL pointer is UB even with a zero len.
While I did fix some code already during a review of all such possible
NULL, 0 calls I missed the bsearch one and introduced the community_equal
memcmp after that.
Reported by Synmac Oliver
OK tb@ deraadt@