Skip to content
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

zk::client crash with 'std::bad_alloc' when call watch() or get() #131

Open
bmeAtnju opened this issue Dec 9, 2022 · 0 comments
Open

zk::client crash with 'std::bad_alloc' when call watch() or get() #131

bmeAtnju opened this issue Dec 9, 2022 · 0 comments

Comments

@bmeAtnju
Copy link

bmeAtnju commented Dec 9, 2022

If no value is written when the zookeeper node is created, zk::client will crash when calling watch({path}) or get({path}) during Runtime because it uses nullptr to construct the zk::buffer

bmeAtnju added a commit to bmeAtnju/zookeeper-cpp that referenced this issue Dec 9, 2022
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

No branches or pull requests

1 participant