Skip to content

Conversation

@olde-ducke
Copy link

Resolves #3675.

Fixes nil pointer dereference and potential deadlock in *baseClient.initConn().

@jit-ci
Copy link

jit-ci bot commented Jan 14, 2026

Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.

In case there are security findings, they will be communicated to you as a comment inside the PR.

Hope you’ll enjoy using Jit.

Questions? Comments? Want to learn more? Get in touch with us.

@olde-ducke olde-ducke marked this pull request as ready for review January 14, 2026 03:39
@ndyakov
Copy link
Member

ndyakov commented Jan 14, 2026

Hello @olde-ducke, let's continue the discussion in the issue and we can work on merging a fix.

@olde-ducke olde-ducke marked this pull request as draft January 14, 2026 19:26
…ernals

* Client: return options copy

* ClusterClient: add missing nil options check, copy passed options, return
  options copy

* Ring: copy passed options, return options copy

* SentinelClient: copy passed options
timeout tests now use reflect and unsafe to access clients internal
options
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.

invalid memory address or nil pointer dereference in *baseClient.initConn

2 participants