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

Fix buffer arguments in unit-curl.cc #2287

Merged
merged 1 commit into from
May 25, 2021

Conversation

eric-hughes-tiledb
Copy link
Contributor

Test "CURL: Test curl's header parsing callback" is passing invalid arguments to write_header_callback. Specifically, it declares that it has a buffer size that it hasn't allocated. This triggers an ASAN violation.


TYPE: BUG
DESC: Fix buffer arguments in unit-curl.cc

…rguments to write_header_callback. Specifically, it declares that it has a buffer size that it hasn't allocated. This triggers an ASAN violation.

Changed a loop declaration to match the sign of its limit.
@joe-maley
Copy link
Contributor

@eric-hughes-tiledb this is in a draft state, is it ready to merge?

@eric-hughes-tiledb eric-hughes-tiledb marked this pull request as ready for review May 25, 2021 12:17
@eric-hughes-tiledb
Copy link
Contributor Author

It's ready. I had been waiting for CI to finish.

@joe-maley joe-maley merged commit 5628e7d into dev May 25, 2021
@joe-maley joe-maley deleted the eh/asan-curl-header-parsing-callback-test branch May 25, 2021 12:40
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

Successfully merging this pull request may close these issues.

None yet

2 participants