-
Notifications
You must be signed in to change notification settings - Fork 866
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
[*] check on NULL #35
Conversation
|
???????????????????????? |
same |
me 7 |
With flag M_WAITOK it will not return NULL, it will return a valid memory address, or stall forever hoping to find some memory in the future. |
As mentioned in the repository comment: Pull requests not accepted - send diffs to the tech@ mailing list. |
When sc is getting return value from malloc need to check on NULL.