-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue found by Svace static analyzer #13400
Comments
Hey @ahrtr , @serathius - While doing some exploration I found this issue which is our oldest open and un-triaged issue. Reviewing Can I please get your thoughts on this? If you think it's valid I will assign and propose a fix. Otherwise let's close this down as it has been open a long time. |
Thanks both and sorry for the late response. The passed
|
I would like to work on this issue, will raise pr for same |
Thanks @ShivangiM - I've assigned this issue to you. |
Hey @ShivangiM - How are you going with this? Please let us know if you have any questions 🙏🏻 |
I can do it, if it's still open. |
Hello
This warning found with the Svace.
Pointer 'resp' returned from function 'concurrency.stm.fetch' at stm.go:316 may be null, and it is dereferenced at stm.go:320.
etcd/client/v3/concurrency/stm.go
Line 316 in 3f639e5
Here resp may be dereferenced here.
etcd/client/v3/concurrency/stm.go
Line 320 in 3f639e5
The function fetch returns nil value here.
etcd/client/v3/concurrency/stm.go
Line 278 in 3f639e5
The text was updated successfully, but these errors were encountered: