[openssl/openssl] 572f29: Fix a failure in bio_dgram_test on the NonStop pla...

Matt Caswell noreply at github.com
Wed Sep 13 11:02:13 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 572f290c9c2d892d5f891c6b8dcebf4e1ac65aed
      https://github.com/openssl/openssl/commit/572f290c9c2d892d5f891c6b8dcebf4e1ac65aed
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M crypto/bio/bss_dgram_pair.c
    M test/bio_dgram_test.c

  Log Message:
  -----------
  Fix a failure in bio_dgram_test on the NonStop platform

The size of the datagram header is significantly larger that we might
expect on NonStop (probably driven by sizeof(BIO_ADDR)). We adjust the
size of the default buffer to take into account the header size and the
mtu.

Fixes #22013

Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22058)


  Commit: 58165d8da493d4271b8a026ef4056ecaeefd3916
      https://github.com/openssl/openssl/commit/58165d8da493d4271b8a026ef4056ecaeefd3916
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M test/bio_dgram_test.c

  Log Message:
  -----------
  Further fix in bio_dgram_test for BIO_s_dgram_mem()

When setting an explicit buffer size using BIO_s_dgram_mem() make sure we
take into account the size of the header (which may be large on NonStop)

Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22058)


Compare: https://github.com/openssl/openssl/compare/122d4e20cd2e...58165d8da493


More information about the openssl-commits mailing list