Amaury Denoyelle 0610b4487b BUG/MINOR: xprt_qstrm: read record length in 64bits
QMux record lengths are encoded as a QUIC varint. Thus in theory, it
requires a 64bits integer to be able to read the whole value. In
practice, if the record is bigger than bufsize, read operation cannot be
completed and an error must be reported.

This patch fixes record length decoding both in xprt_qstrm layer, which
is now performed in two steps. The value is first read in a 64bits
integer instead of a size_t whose size is dependent on the architecture.
Result is then checked against bufsize and if inferior stored in the
previously used variable (xprt ctx rxrlen member).

This should partially fix build issue reported on github #3334.

No need to backport.
2026-04-20 09:23:29 +02:00
..
2025-01-07 16:42:38 +01:00
2026-04-14 10:57:21 +02:00
2026-04-02 14:02:04 +02:00
2026-04-02 14:02:04 +02:00
2026-03-02 10:44:59 +01:00