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
Coverity CID 1605314 Overflowed return value
varnish-cache/bin/varnishtest/vtc_http2.c
Lines 505 to 514 in 33d8a53
for f->md.padded >= size increminting shift by one actually looks wrong to me. And why shift += 1 in the first place and not shift += f->md.padded?
f->md.padded >= size
shift
shift += 1
shift += f->md.padded
Edit: Very similar issue here:
Lines 417 to 426 in 33d8a53
The text was updated successfully, but these errors were encountered:
I think this looks mostly correct.
shift is where data starts, and the length of the padding goes in front of the data (rfc7540 p30)
But I'm wondering now if it shouldn't be size -= 1 + f->md.padded also in line 514 ?
size -= 1 + f->md.padded
Sorry, something went wrong.
bsdphk
No branches or pull requests
Coverity CID 1605314 Overflowed return value
varnish-cache/bin/varnishtest/vtc_http2.c
Lines 505 to 514 in 33d8a53
for
f->md.padded >= size
incremintingshift
by one actually looks wrong to me. And whyshift += 1
in the first place and notshift += f->md.padded
?Edit: Very similar issue here:
varnish-cache/bin/varnishtest/vtc_http2.c
Lines 417 to 426 in 33d8a53
The text was updated successfully, but these errors were encountered: