diff options
author | Mariano Di Martino <mariano.dimartino@uhasselt.be> | 2021-09-03 14:23:50 +0300 |
---|---|---|
committer | Mariano Di Martino <mariano.dimartino@uhasselt.be> | 2021-09-03 14:23:50 +0300 |
commit | 9985ab86bf0eb3a58f26d0396c1828d4a70faf03 (patch) | |
tree | fea26336873b5bd9c2ca5eed1fbe09d32124c9fc /src/core/ngx_connection.c | |
parent | 47c993da63a1351193207588d7f9ef1327b1744b (diff) | |
download | nginx-9985ab86bf0eb3a58f26d0396c1828d4a70faf03.tar.gz nginx-9985ab86bf0eb3a58f26d0396c1828d4a70faf03.zip |
QUIC: fixed null pointer dereference in MAX_DATA handler.
If a MAX_DATA frame was received before any stream was created, then the worker
process would crash in nginx_quic_handle_max_data_frame() while traversing the
stream tree. The issue is solved by adding a check that makes sure the tree is
not empty.
Diffstat (limited to 'src/core/ngx_connection.c')
0 files changed, 0 insertions, 0 deletions