Skip to content
New issue

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

Size of buffer is not big enough to accomodate endpoints with long host names. #45

Open
pizzamax opened this issue Sep 21, 2017 · 1 comment

Comments

@pizzamax
Copy link

header_ptr->value.len = s3_bucket->len + 40;

When the length of endpoint hostname exceeds 40bytes, hostname to be used to sign authentication header gets truncated, this will cause SignatureDoesNotMatch error.

Would it be possible to expand the size of the buffer to safe size?

@anomalizer
Copy link
Owner

Please try the latest build from master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants