Repository navigation
Fuzz --authenticate '' --cluster-mode again: the #450 leak is fixed - #883
Merged
Merged
Conversation
The CLI fuzzer discarded this argv shape because a supervisor abort during cluster setup leaked the in-flight AUTH request (#450). e935f80 (#475) frees requests still queued on a connection when it is destroyed; the reproducer has been clean since, so let the fuzzer cover it again with leak detection on. Co-Authored-By: Claude Opus 5.5 <[email protected]>
master stopped leaking the pending setup request with e935f80 (#475); 41371a5, which already has the #456 refactor, still leaks it. Name the fix that a 2.4 backport would need. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #450.
#450's leak (a
--connection-stage-timeoutabort during cluster setup, under LeakSanitizer) no longer reproduces on master. It was fixed by e935f80 (#475), whoseshard_connectiondestructor change frees requests still queued on a connection. The leaked object was the in-flight AUTH request fromsend_conn_setup_commands(). Thecluster_clientitself was always deleted.Evidence (ASan + UBSan build,
ASAN_OPTIONS=detect_leaks=1:abort_on_error=1, no-auth Redis 7.0.15, Ubuntu 24.04 container):Direct leak of 96 byte(s)allocated inshard_connection::send_conn_setup_commands.--pipeline=16--protocol=resp3The only leftover was in
tests/cli_fuzz.py, which discarded the--authenticate '' --cluster-modeargv shape, citing #450. This PR removes that skip and the now-unusedassumeimport, so the nightly CLI fuzz (which runs master withdetect_leaks=1) covers that combination again. It also corrects thecli-fuzz-nightly.ymlcomment that credited the master fix to the #456 refactor: 41371a5 already contains #456 and still leaks, so a 2.4 backport would need #475. No product code changes.🤖 Generated with Claude Code