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

Similar to CVE-2017-8782,Integer overflow in function readSizedString,util/read.c:397 #211

Open
b0b0haha opened this issue Dec 2, 2020 · 1 comment

Comments

@b0b0haha
Copy link

b0b0haha commented Dec 2, 2020

Just similar to commit befb74,in func readSizedString() (util/read.c) ,there should be a check to avoid buflen integer overflow before line 397. What's more ,there should be a check for buf which is initialized in line 389 in case of malloc fails.

@b0b0haha
Copy link
Author

b0b0haha commented Dec 2, 2020

The screenshot may provide more details about the issue.
image

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