]> git.kaiwu.me - nginx.git/commit
QUIC: avoid accessing freed frame.
authorRoman Arutyunyan <arut@nginx.com>
Tue, 1 Aug 2023 07:20:04 +0000 (11:20 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Tue, 1 Aug 2023 07:20:04 +0000 (11:20 +0400)
commit57f87d61639d7fc0f5df187056ef03fcec3236a8
tree02cc2fab50f4b84510a35e73d262a3a5fa48a520
parent968293d5e721b9c7ff4098ee76a3313b0b7fd2ac
QUIC: avoid accessing freed frame.

Previously the field pnum of a potentially freed frame was accessed.  Now the
value is copied to a local variable.  The old behavior did not cause any
problems since the frame memory is not freed, but is moved to a free queue
instead.
src/event/quic/ngx_event_quic_ack.c