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

deserialize blocks all processes when fed with invalid buffer #2

Open
trsh opened this issue Mar 30, 2024 · 0 comments
Open

deserialize blocks all processes when fed with invalid buffer #2

trsh opened this issue Mar 30, 2024 · 0 comments

Comments

@trsh
Copy link

trsh commented Mar 30, 2024

Serio::deserialize('xx', A, B);

What I observed, its that if 'xx' is invalid and especially if shorter then it should be, the deserialize locks main thread into infinity. I wonder if there is a way around this. I could check buffer size, but in my case its unknown sent over network.

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