libcrypto: avoid buffer overwrite due to truncating long to int
The cached DER encoding has a length stored as a long but the i2d API
uses an int. Since i2d has this two-step Muppet API where the first
call reports back an int to allow the caller to allocate a buffer and
then have i2d write to it, this can go wrong when LONG_MAX > INT_MAX:
the caller allocates the truncated int size reported back and passes
that in and the API then writes out the long-sized buffer containing
the cached DER, writing past the end.
This requires lots of memory to be an actual issue.
Fix adapted from OpenSSL 8257d58a by Cygnus Qu with a few tweaks by me.
ok jsing kenjiro
lang/gcc/16: avoid picking python3 build deps
M2 uses python to build full documentation, and without it, it builds some
generic version which is fine.
Reported by sthen@
Work-in-progress driver for the FireGL-UX boards.
The sti rom on these boards is horribly limited and gives a rachitic 640x400
display (even smaller than VGA...). This driver picks a larger video mode
(currently 1024x768, but user can pick 1280x104) to be less frustrating on
the eyes. Unfortunately, it is dog slow.
Based on the Linux gxt4500 driver for RS/6000 systems, no surprise as this is
an IBM design...
Support USB-C device attachment.
Take the attach state from the Configuration Channel (CC) status and the
power role from the PD status. When this port resolves as the source, its
provider path is now enabled, so the attached device receives bus power
and enumerates on the USB controller.
Refactor x509_pubkey_get_ski
Now that a second algorithm no longer is a consideration this function
can be simplified, while at it get rid of a goto label.
OK tb@
Remove experimental support for P-256 certificate chains
P-256 is not going to be the successor to RSA in the RPKI, so let's just
zap this not-so-useful code.
OK tb@
Add support for changing the pointer shape. Controlled by new option
mouse-pointer (off by default), pointer-shape and
copy-mode-pointer-shape. GitHub issue 5918 from Morten M Neergaard.
Move gawk extensions manpages back to their default location
- confusing pkg/MESSAGE mentioning mk.conf spotted by ajacoutot@
- gkoehler@ figured out that MESSAGE was referring to the old /etc/man.conf
syntax, not mk.conf
- tb@ noted that current man/makewhatis don't need a hint in man.conf
to look in the alternate directory
- maybe there was a good reason to move these manpages to an alternate
subdirectory in 2013, but it is not the case any more. man(1) can handle
manpages with a ".3am" suffix in the default /usr/local/man(/man3) path
just fine.