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

Crash when command includes \x00 #50

Closed
siscia opened this issue Apr 28, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@siscia
Copy link
Collaborator

commented Apr 28, 2019

While working on pg-redis-proxy, it became clear that RediSQL crash if a command contains the null character.

To fix.

siscia added a commit that referenced this issue Apr 29, 2019

Reproduce error reported on #50, NULL terminator in input cause error.
Indeed we internally use CString::new that return NulError if the string contains NULL characters.
@siscia

This comment has been minimized.

Copy link
Collaborator Author

commented Apr 29, 2019

Solved by #51

@siscia siscia closed this Apr 29, 2019

siscia added a commit that referenced this issue May 8, 2019

Reproduce error reported on #50, NULL terminator in input cause error.
Indeed we internally use CString::new that return NulError if the string contains NULL characters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.