summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-28Check X509_get_notAfter return value in openssl(1) ca.cKinichiro Inoguchi
2021-08-28Use strndup instead of malloc, memcpy and NULL termination in openssl(1) ca.cKinichiro Inoguchi
suggested from tb@ for do_updatedb(), and applied the same for do_body() and do_revoke().
2021-08-28Remove ASN1_TIME_new and use NULL for X509_gmtime_adj, free tmptm in err pathKinichiro Inoguchi
comments from tb@
2021-08-28Unwrap lines in openssl(1) ca.cKinichiro Inoguchi
suggested from tb@
2021-08-28Avoid leak with X509_REVOKED variable in openssl(1) ca.cKinichiro Inoguchi
pointed out by tb@
2021-08-28Checking the return value in openssl(1) ca.cKinichiro Inoguchi
Some functions are used without verifying the return value in openssl(1) ca. This diff adds checking for the function return value. With this diff, I changed return value of the write_new_certificate from void to int to return the condition to the caller. ok and comments from tb@
2021-08-27Replace %% in command lists (by copying them) for template arguments ,Nicholas Marriott
this means they can be used with {} as well. Also make argument processing from an existing vector preserve commands. GitHub issue 2858.
2021-08-27Allow control mode clients to set a hard limit on the window width andNicholas Marriott
height, GitHub issue 2594.
2021-08-27Add regress test testing having the root cert in the intermediate bundleBob Beck
2021-08-27Remove unused #include <assert.h>.Theo Buehler
This is from upstream where there is an assert() that EVP_MD_size(digest) matches the length returned by HMAC(). We avoid asserts in our libraries. From Martin Vahlensieck
2021-08-27Replace stray hand-rolled nitems() with nitems().Kenneth R Westerback
2021-08-27drm/amd/display: workaround for hard hang on HPD on native DPJonathan Gray
From Qingqing Zhuo 2e6cc93e1b8cf3ec2966961c1e98722ee7281023 in linux 5.10.y/5.10.61 c4152b297d56d3696ad0a9003169bc5b98ad7b72 in mainline linux
2021-08-27drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1XJonathan Gray
From Bing Guo dcc8c5fb8d8595f5061c7b000ca1d16449a5e865 in linux 5.10.y/5.10.61 06050a0f01dbac2ca33145ef19a72041206ea983 in mainline linux
2021-08-27drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.Jonathan Gray
From Yifan Zhang 7525f2e4de0069983497a9d3eab1ca9813ae1b4b in linux 5.10.y/5.10.61 1c0539a6fc8a4a4b77278e35d763073890de96b9 in mainline linux
2021-08-26Request wMaxInputLength bytes of data on each interrupt which shouldJoshua Stein
already account for the two-byte length and one-byte report id, rather than adding them ourself and requesting wMaxInputLength + 3. Fixes dwiic timeouts requesting data from at least one touchpad. Tested by various
2021-08-26Rename ucc_intr_to_usage() to ucc_bits_to_usage(), no functional change.Anton Lindqvist
2021-08-26Add missing leading colon to error message.Anton Lindqvist
2021-08-26There are some races in the hardware which thus require a few more triesKevin Lo
to get ownership. See Linux commit 501fd9895c1d7d8161ed56698ae2fccb10ef14f5 ok stsp@
2021-08-25Two more Capt. Obvious comments go away.Kenneth R Westerback
2021-08-25Don't use log_procname before it is initialized. In particularKenneth R Westerback
set_iff_up() is called from initialize_interface() and was using log_procname instead of ifi->name in its fatal()'s. Diagnosed by tb@ from a recent reddit post by zielonykid1234.
2021-08-25Consolidate '-e' edit command parsing into ask_cmd(), simplifyingKenneth R Westerback
the main '-e' loop. No functional change.
2021-08-25Improve some logging.Nicholas Marriott
2021-08-25Ignore client creating session when working out size if it is a controlNicholas Marriott
client.
2021-08-25bind-key needs to allow commands for any argument for the moment.Nicholas Marriott
2021-08-25Validate command argument types (string or command list) and give moreNicholas Marriott
useful error messages.
2021-08-25setupterm needs char * not const char * on some platforms.Nicholas Marriott
2021-08-25Fix up some printflike attributes.Nicholas Marriott
2021-08-25Start inputs as NULL so not freeing random stack garbage, GitHub issue 2852.Nicholas Marriott
2021-08-25Make all conversion routines consistent by returning a structAnton Lindqvist
ucc_keysym. No functional change.
2021-08-25Remove the KB_DEFAULT flag from the wskbd keymap layout. Presence ofAnton Lindqvist
this flag will cause wskbd to discard the given keymap layout and instead favor the layout of the associated wsmux. This is not a problem while attaching ucc(4) during boot as the wsmux uses the default layout at this point. However, if the layout is changed using /etc/kbdtype from rc(8) during boot, attaching ucc(4) at this point would cause wskbd_attach() to get stuck in an infinite loop: wskbdX: cannot load keymap, falling back to default ... which in turn is caused by ucc(4) only providing a us layout and using anything else in /etc/kbdtype would not work. I missed this as I don't use /etc/kbdtype but cwen@ and Mazzurco Riccardo <mazzurco dot riccardo at protonmail dot com> reported the same problem.
2021-08-25Prevent ucc(4) from matching report IDs with an empty input report.Anton Lindqvist
Fixes cwen@'s Creative BT-W3 audio device.
2021-08-25If the buffer given to the ucc interrupt handler is too long, do notAnton Lindqvist
discard it but instead just inspect the first bytes that can make up a usage. This is a work around as the correct solution is to only inspect a limited number of bits as given by the report count and size associated with the Consumer usage page. Final piece to get florian@'s Microsoft Sculpt keyboard working.
2021-08-25Determine if a hid item is an array by solely inspecting presence ofAnton Lindqvist
associated min/max boundaries. Assuming that every usage array starts with the Control usage is incorrect. Fixes claudio@'s GMMK keyboard and partial fix for florian@'s Microsoft Sculpt keyboard.
2021-08-24Fix automatic upgrade after fetching response file with dhcp.Alexander Bluhm
When the auto upgrader tried to fetch the sets, sometimes ftp did not find any. The interface was down and had no address. As autoconf was not cleared, the upgrade's static netstart and dhcpleased both tried to configure the interface, which cannot work. Disable dhcp with "ifconfig inet -autoconf" in get_responsefile() after it is not used anymore. OK florian@
2021-08-24- guiness -> guinnessJason McIntyre
- heros -> heroes - kill a dup from tom
2021-08-24Fix ping group offsets.Mark Kettenis
ok jcs@
2021-08-24Add an #ifdef DEBUG/#endif chunk that dumps the entire GPT header whenKenneth R Westerback
printing a GPT. No functional change outside of DEBUG.
2021-08-24Fix various read buffer overflow when printing ASN.1 strings (which areTheo Buehler
not necessarily NUL terminated). Same as schwarze's fix in t_x509a.c r1.9. From David Benjamin and Matt Caswell (part of the fixes in OpenSSL 1.1.1l) ok inoguchi
2021-08-24When an interface disappears, e.g. when a usb dongle gets unplugged,Florian Obser
we get a RTM_IFANNOUNCE message not a RTM_IFINFO message. Handle this message to not accumulate "unknown" interfaces. While here fix a bug where we would remove an interface only in the engine process but not in the frontend when an interfaces gets unplugged while we process a RTM_IFINFO message for it. OK benno
2021-08-24When an interface disappears, e.g. when a usb dongle gets unplugged,Florian Obser
we get a RTM_IFANNOUNCE message not a RTM_IFINFO message. Handle this message to not accumulate "unknown" interfaces. OK benno
2021-08-24use Pa for resolv.conf.tail, since there is no longer a man pageJason McIntyre
to Xr;
2021-08-24vini vidi vici -> veni vidi viciJason McIntyre
2021-08-24make SYNOPSIS match usage to indicate -l is optional in:Jason McIntyre
swapctl [[-l] | -s] [-k] from martin vahlensieck
2021-08-24A couple more Capt. Obvious comments can go.Kenneth R Westerback
2021-08-24Trim leading/trailing whitespace from -e input to make commandKenneth R Westerback
parsing more robust (e.g. 'edit 0 ' is now accepted) and strict (e.g. 'reinit gptx' is now rejected). Input which may want that whitespace is not trimmed (e.g. GPT partition names). Use consistent definition of whitespace corresponding to that used by isspace().
2021-08-24Fix compilation with debug enabled.Patrick Wildt
ok kettenis@
2021-08-24Some consumer control descriptor reports uses an array of usages insteadAnton Lindqvist
of enumerating all supported ones. This representation is more compact as all supported usages are given by the array min and max boundaries. In enumerating mode, the interrupt report has one level indirection as it includes the bit offset of the usage requiring the driver to map bits to usages in order to resolve the key press. In array mode, the interrupt report includes the usage without any indirection, removing the need map bits to usages. ucc(4) can now operate either in enumerating or array mode depending on the descriptor report. This should make more keyboards usable. Thanks to Alessandro De Laurenzis <just22 at atlantide dot mooo dot com> for testing.
2021-08-24fix outdated comments, from Emil Engler, thanks.Sebastian Benoit
2021-08-24We no longer have resolv.conf.tail.Florian Obser
From Scott Bennett, thanks!
2021-08-23Say which read failed, helps debugging.Florian Obser