Skip to content

Reject empty pool lists and read the whole ascii get response on key mismatch - #187

Merged
aisk merged 1 commit into
masterfrom
fix-empty-pools-and-ascii-get-mismatch
Sep 8, 2026
Merged

aisk merged 1 commit into
masterfrom
fix-empty-pools-and-ascii-get-mismatch

Conversation

@aisk

@aisk aisk commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Client::with_pools and with_pool_size accepted an empty list and then panicked with a modulo by zero on the first command, and the ascii get bailed out on a mismatched key while the rest of the response was still unread on the socket.

@aisk
aisk merged commit 9488bf6 into master Sep 8, 2026
1 check passed
@aisk
aisk deleted the fix-empty-pools-and-ascii-get-mismatch branch September 8, 2026 15:35
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