We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the function header_out_write_value(), the counter qpd_bytes_out is updated after dhi_process_header() is called, instead of before:
header_out_write_value()
qpd_bytes_out
dhi_process_header()
r = dec->qpd_dh_if->dhi_process_header(read_ctx->hbrc_hblock, xhdr); if (r == 0) dec->qpd_bytes_out += xhdr->name_len + xhdr->val_len;
The problem here is that the user callback is free to modify xhdr in any manner, potentially making name_len and val_len invalid.
xhdr
name_len
val_len
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the function
header_out_write_value()
, the counterqpd_bytes_out
is updated afterdhi_process_header()
is called, instead of before:The problem here is that the user callback is free to modify
xhdr
in any manner, potentially makingname_len
andval_len
invalid.The text was updated successfully, but these errors were encountered: