Skip to content

fix valgrind issues with recently added test in modules/blockonbackground#9192

Merged
oranagra merged 1 commit intoredis:unstablefrom
oranagra:fix_valgrind_module_test
Jul 4, 2021
Merged

fix valgrind issues with recently added test in modules/blockonbackground#9192
oranagra merged 1 commit intoredis:unstablefrom
oranagra:fix_valgrind_module_test

Conversation

@oranagra
Copy link
Member

@oranagra oranagra commented Jul 4, 2021

fixes test issue introduced in #9167

  1. invalid reads due to accessing non-retained string (passed as unblock context).
  2. leaking module blocked client context, see Modules: Do not auto-unblock clients if not blocked on keys #6922 for info.

@oranagra oranagra requested a review from yossigo July 4, 2021 08:27
@oranagra oranagra added the state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten label Jul 4, 2021
@oranagra
Copy link
Member Author

oranagra commented Jul 4, 2021

@oranagra oranagra merged commit a8518cc into redis:unstable Jul 4, 2021
oranagra added a commit that referenced this pull request Jul 21, 2021
…ound (#9192)

fixes test issue introduced in #9167

1. invalid reads due to accessing non-retained string (passed as unblock context).
2. leaking module blocked client context, see #6922 for info.

(cherry picked from commit a8518cc)
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Sep 8, 2021
…ound (redis#9192)

fixes test issue introduced in redis#9167

1. invalid reads due to accessing non-retained string (passed as unblock context).
2. leaking module blocked client context, see redis#6922 for info.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants