CVS: cvs.openbsd.org: src

2024-01-25 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2024/01/25 13:50:58 Modified files: usr.sbin/btrace: btrace.c Log message: Return 0 when accessing an argument not defined in a probe. Adapted from a fix from Christian Ludwig.

CVS: cvs.openbsd.org: src

2024-01-25 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2024/01/25 10:00:21 Modified files: sys/dev/ic : qwx.c qwxvar.h sys/dev/pci: if_qwx_pci.c Log message: Make qwx(4) avoid sub-directories in firmware paths.

CVS: cvs.openbsd.org: src

2024-01-25 Thread Todd C . Miller
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2024/01/25 09:40:51 Modified files: usr.bin/awk: FIXES b.c main.c run.c Log message: Update awk to the Jan 22, 2024 version.

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 08:33:35 Modified files: lib/libcrypto/pkcs12: p12_npas.c Log message: Plug a few leaks and perform some other code hygiene Closing this directory now until the daily Coverity run throws a hissy

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 08:09:22 Modified files: lib/libcrypto/x509: x509_lib.c Log message: This table no longer needs to be sorted

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 07:15:05 Modified files: lib/libcrypto/pkcs12: p12_npas.c Log message: p12_npas.c: hoist some helpers from the bottom to the top in reverse order

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 07:09:26 Modified files: lib/libcrypto/pkcs12: p12_npas.c Log message: p12_npas.c: maclen -> mac_len

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 07:08:30 Modified files: lib/libcrypto/pkcs12: p12_npas.c Log message: p12_npas.c: Use slightly less awkward variable names

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 06:44:08 Modified files: lib/libcrypto/pkcs12: p12_add.c p12_mutl.c pkcs12_local.h lib/libcrypto/pkcs7: pk7_doit.c pk7_mime.c Log message: Fix various NULL dereferences in PKCS #12 The

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 06:32:49 Modified files: lib/libcrypto/pkcs12: p12_npas.c Log message: Merge PKCS12_newpass() and newpass_p12() With the previous refactoring, newpass_p12() became simple enough that it doesn't

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 05:22:31 Modified files: lib/libcrypto : crypto_init.c Log message: Ditch another noop from OPENSSL_cleanup()

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 05:20:17 Modified files: lib/libcrypto/x509: x509_lib.c Log message: Remove the custom X509v3 extensions stack This is essentially unused. The only consumer, www/kore,-acme is in the process of

CVS: cvs.openbsd.org: src

2024-01-25 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/01/25 04:13:35 Modified files: usr.sbin/bgpd : rde.c Log message: Use RFC7606 treat-as-withdraw for ORIGIN attributes with an invalid value. OK tb@

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 03:53:05 Modified files: lib/libcrypto/pkcs12: p12_npas.c Log message: Rename pkcs12_repack_safe() into pkcs12_repack_authsafes() discussed with jsing

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 03:44:39 Modified files: lib/libcrypto/pkcs12: p12_npas.c Log message: Rework newpass_p12() a bit more Split the bottom half that repacks the authsafes into a helper function. This simplifies

CVS: cvs.openbsd.org: src

2024-01-25 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2024/01/25 03:11:04 Modified files: sys/dev/ic : qwx.c qwxreg.h qwxvar.h Log message: implement qwx_auth() which moves the device from SCAN into AUTH state Port code from Linux to provide access point

CVS: cvs.openbsd.org: src

2024-01-25 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2024/01/25 03:07:47 Modified files: sys/dev/ic : qwx.c Log message: Process scan results in qwx(4) now that we are longer crashing the kernel.

CVS: cvs.openbsd.org: src

2024-01-25 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2024/01/25 03:03:20 Modified files: sys/dev/ic : qwx.c Log message: Disable monitor status ring support in qwx(4). The ring isn't needed to scan for APs. This ring's ext interrupt fires continously and

CVS: cvs.openbsd.org: src

2024-01-25 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/01/25 02:54:21 Modified files: usr.sbin/bgpctl: bgpctl.c bgpctl.h output.c output_json.c Log message: Siwtch IMSG_CTL_SHOW_RIB_COMMUNITIES over to the new ibuf api. Adjust fmt_ext_community() to take

CVS: cvs.openbsd.org: src

2024-01-25 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2024/01/25 02:51:33 Modified files: sys/dev/ic : qwx.c qwxvar.h Log message: Port over some ath11k code to handle the qwx(4) monitor status ring. These changes are incomplete. More work will be

CVS: cvs.openbsd.org: src

2024-01-25 Thread Claudio Jeker
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/01/25 02:46:12 Modified files: usr.sbin/bgpd : rde.c Log message: Convert most attributes in rde_attr_parse() to new ibuf API. This skips ATTR_ASPATH and ATTR_AS4_PATH for now, those will follow

CVS: cvs.openbsd.org: src

2024-01-25 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2024/01/25 02:44:57 Modified files: sys/dev/pci: if_qwx_pci.c sys/dev/ic : qwx.c qwxvar.h Log message: Use multi-vector MSI interrupts in qwx(4). With only one vector enabled we need to

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 02:40:09 Modified files: lib/libcrypto/pkcs12: p12_npas.c Log message: newpass_p12(): factor for loop body into helpers Since newpass_bags() and sk_PKCS7_push() could be shared between two

CVS: cvs.openbsd.org: src

2024-01-25 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/01/25 02:05:54 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c amdgpu_kms.c Log message: call amdgpu_driver_load_kms() instead of doing the equivalent

CVS: cvs.openbsd.org: src

2024-01-25 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/01/25 01:10:14 Modified files: lib/libcrypto/pkcs12: p12_npas.c Log message: Fix a memleak and a double free in newpass_p12() If the allocation of newsafes fails, asafes is leaked. And if the

CVS: cvs.openbsd.org: src

2024-01-25 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/01/25 01:08:10 Modified files: sys/dev/pci/drm/amd/amdgpu: amdgpu_device.c Log message: move pwr_state init out of ifdef