[openssl/openssl] a6eb28: QUIC MULTISTREAM TEST: Fix script 38 stochastic fa...

Hugo Landau noreply at github.com
Thu Nov 2 08:14:08 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: a6eb287a667ccbc241c59b23b151672e450bda4b
      https://github.com/openssl/openssl/commit/a6eb287a667ccbc241c59b23b151672e450bda4b
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M test/quic_multistream_test.c

  Log Message:
  -----------
  QUIC MULTISTREAM TEST: Fix script 38 stochastic failure on Windows

The QUIC fault injector frame injection functionality injects injected
frames on whatever EL we happen to be using to generate a packet in.
This means we sometimes inject the frame into a packet type it is not
allowed to be in, causing a different error code to be generated.

Fix this by making sure the connection is fully established before
trying to generate the frame in question.

Fixes #22348.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22578)


  Commit: 660718ee5bafce9c5ca7604801a59f53df28f202
      https://github.com/openssl/openssl/commit/660718ee5bafce9c5ca7604801a59f53df28f202
  Author: Hugo Landau <hlandau at openssl.org>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M test/quic_multistream_test.c

  Log Message:
  -----------
  QUIC MULTISTREAM TEST: Ensure frames are only injected into correct packet types

Although the previous commit is enough to fix the immediate cause of the
stochastic failure on Windows, this is a more resilient fix; make sure
we only inject a given frame into the correct packet type for our
various injection functions.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22578)


Compare: https://github.com/openssl/openssl/compare/d13488b93690...660718ee5baf


More information about the openssl-commits mailing list