[openssl/openssl] 61a468: Correctly track the original length when generatin...

Matt Caswell noreply at github.com
Mon Nov 6 07:52:26 UTC 2023


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 61a468bfaff43893763f555511300f069ae78746
      https://github.com/openssl/openssl/commit/61a468bfaff43893763f555511300f069ae78746
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M ssl/quic/quic_txp.c

  Log Message:
  -----------
  Correctly track the original length when generating a stream frame

txp_generate_stream_frames() plans chunks of data to send via the
function txp_plan_stream_chunk(). That function may clamp the amount in
the chunk due to flow control, even though there is more available to send.

We should take this into account when deciding whether or not to try
serializing the next chunk.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22601)

(cherry picked from commit e718b248f94fa41562b740482813716a2ff13db5)




More information about the openssl-commits mailing list