Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sudo_mmap_strdup_v1: A null pointer may be accessed. #204

Closed
BornThisWay opened this issue Nov 19, 2022 · 1 comment
Closed

sudo_mmap_strdup_v1: A null pointer may be accessed. #204

BornThisWay opened this issue Nov 19, 2022 · 1 comment

Comments

@BornThisWay
Copy link
Contributor

BornThisWay commented Nov 19, 2022

memcpy(newstr, str, len);

newstr may be a null pointer..

@millert
Copy link
Collaborator

millert commented Nov 20, 2022

Fixed by 496ae6e

@millert millert closed this as completed Nov 20, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants