mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-18 18:19:39 -05:00
BUG/MINOR: quic: Missing incrementation in NEW_TOKEN frame builder
quic_build_new_token_frame() is the function which is called to build a NEW_TOKEN frame into a buffer. The position pointer for this buffer was not updated, leading the NEW_TOKEN frame to be malformed. Must be backported as far as 2.6.
This commit is contained in:
parent
f5b09dc452
commit
76c80605a6
1 changed files with 1 additions and 0 deletions
|
|
@ -485,6 +485,7 @@ static int quic_build_new_token_frame(unsigned char **pos, const unsigned char *
|
|||
return 0;
|
||||
|
||||
memcpy(*pos, new_token_frm->data, new_token_frm->len);
|
||||
*pos += new_token_frm->len;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue