[PULL 00/14] Misc fixes patches

Daniel P. Berrangé posted 14 patches 5 hours ago
.gitlab-ci.d/buildtest.yml    |  2 +-
crypto/der.c                  | 13 ------
crypto/der.h                  | 22 ----------
crypto/hash-afalg.c           | 10 ++---
crypto/hash-gcrypt.c          | 15 +++++--
crypto/hash-glib.c            | 11 ++++-
crypto/hash-gnutls.c          | 16 ++++++--
crypto/hash-nettle.c          | 14 +++++--
include/crypto/hash.h         | 47 ++++++++++++++++------
include/crypto/hmac.h         | 34 +++++++++++-----
include/qemu/sockets.h        | 16 --------
tests/unit/test-crypto-hash.c |  7 ++--
tests/unit/test-crypto-hmac.c |  6 ++-
ui/vnc-auth-sasl.c            | 75 ++++++++++++++++++++++++-----------
ui/vnc.c                      |  3 --
ui/vnc.h                      |  1 -
util/qemu-sockets.c           | 36 -----------------
17 files changed, 170 insertions(+), 158 deletions(-)
[PULL 00/14] Misc fixes patches
Posted by Daniel P. Berrangé 5 hours ago
The following changes since commit cc5adbbd50d81555b8eb73602ec16fde40b55be4:

  Merge tag 'pull-tpm-2024-10-18-1' of https://github.com/stefanberger/qemu-tpm into staging (2024-10-18 15:45:02 +0100)

are available in the Git repository at:

  https://gitlab.com/berrange/qemu tags/misc-fixes-pull-request

for you to fetch changes up to c64df333f92798823c4897ae6d4bd7f49d060225:

  gitlab: enable afalg tests in fedora system test (2024-10-22 13:02:33 +0100)

----------------------------------------------------------------
Misc sockets, crypto and VNC fixes

* Fix rare EADDRINUSE failures on OpenBSD platforms seen
  with migration
* Fix & test overwriting of hash output buffer
* Close connection instead of returning empty SASL mechlist to
  VNC clients
* Fix handling of SASL SSF on VNC server UNIX sockets
* Fix handling of NULL SASL server data in VNC server
* Validate trailing NUL padding byte from SASL client
* Fix & test AF_ALG crypto backend build
* Remove unused code in sockets and crypto subsystems

----------------------------------------------------------------

Daniel P. Berrangé (11):
  util: don't set SO_REUSEADDR on client sockets
  crypto/hash: avoid overwriting user supplied result pointer
  tests: correctly validate result buffer in hash/hmac tests
  include/crypto: clarify @result/@result_len for hash/hmac APIs
  ui/vnc: don't return an empty SASL mechlist to the client
  ui/vnc: don't raise error formatting socket address for non-inet
  ui/vnc: fix skipping SASL SSF on UNIX sockets
  ui/vnc: don't check for SSF after SASL authentication on UNIX sockets
  ui: fix handling of NULL SASL server data
  ui: validate NUL byte padding in SASL client data more strictly
  gitlab: enable afalg tests in fedora system test

Dr. David Alan Gilbert (2):
  crypto: Remove unused DER string functions
  sockets: Remove deadcode

Markus Armbruster (1):
  crypto/hash-afalg: Fix broken build

 .gitlab-ci.d/buildtest.yml    |  2 +-
 crypto/der.c                  | 13 ------
 crypto/der.h                  | 22 ----------
 crypto/hash-afalg.c           | 10 ++---
 crypto/hash-gcrypt.c          | 15 +++++--
 crypto/hash-glib.c            | 11 ++++-
 crypto/hash-gnutls.c          | 16 ++++++--
 crypto/hash-nettle.c          | 14 +++++--
 include/crypto/hash.h         | 47 ++++++++++++++++------
 include/crypto/hmac.h         | 34 +++++++++++-----
 include/qemu/sockets.h        | 16 --------
 tests/unit/test-crypto-hash.c |  7 ++--
 tests/unit/test-crypto-hmac.c |  6 ++-
 ui/vnc-auth-sasl.c            | 75 ++++++++++++++++++++++++-----------
 ui/vnc.c                      |  3 --
 ui/vnc.h                      |  1 -
 util/qemu-sockets.c           | 36 -----------------
 17 files changed, 170 insertions(+), 158 deletions(-)

-- 
2.46.0