Skip to content

[Bug] ConnectionPool::remove Crash #346

Closed
@arhoads

Description

Search before asking

  • I searched in the issues and found nothing similar.

Version

Commit 6f115e7

Minimal reproduce step

ClientConnection::close makes the function call pool_.remove(logicalAddress_, this);. LogicalAddress is no longer the correct key in the connection pool and instead should be logical address + "- {keySuffix}". The key isn't found in the pool map and a crash happens because the find result isn't validated.

What did you expect to see?

No crash

What did you see instead?

Crash

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions