Skip to content

fix: Fix ASAN issue - #321

Open
gnusi wants to merge 1 commit into
duckdb:mainfrom
serenedb:gnusi/fix-asan-duckdb
Open

fix: Fix ASAN issue#321
gnusi wants to merge 1 commit into
duckdb:mainfrom
serenedb:gnusi/fix-asan-duckdb

Conversation

@gnusi

@gnusi gnusi commented May 5, 2026

Copy link
Copy Markdown

Fix UB caused by passing a temporary std::string (url.endpoint + fragment_next_page_url) directly into GetRequestInfo.

I'd strongly encourage to store a plain std::string instead of const std::string& in BaseRequestInfo to avoid such issues in future. If you'd like to go this way I can contribute, but that'd be a bigger change and out of scope of this PR.

@gnusi gnusi changed the title Fix asan fix: Fix ASAN issue May 5, 2026
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.

1 participant