]> git.kaiwu.me - nginx.git/commit
QUIC: fixed off-by-one in frame range handler.
authorVladimir Homutov <vl@nginx.com>
Thu, 18 Jun 2020 08:16:35 +0000 (11:16 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 18 Jun 2020 08:16:35 +0000 (11:16 +0300)
commita213258b5beb8d83a0907eed00fe402d67610303
treecf6ab9d9fd542a1d8de49e0036cc851a8cfaef25
parent3b3264dc25a6d5da80c1641671737fc6505c45f1
QUIC: fixed off-by-one in frame range handler.

The ctx->pnum is incremented after the packet is sent, thus pointing to the
next packet number, which should not be used in comparison.
src/event/ngx_event_quic.c