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

nullptr NULL denial of service attacks #4

Open
coinhubs opened this issue Aug 18, 2020 · 2 comments
Open

nullptr NULL denial of service attacks #4

coinhubs opened this issue Aug 18, 2020 · 2 comments

Comments

@coinhubs
Copy link

There's one constant source of crashes, SEGV due to NULL pointer de-references in APIs. They are literally everywhere. eg glibc

#include <stdio.h>
int main()
{
puts(NULL);
return 0;
}

C11 had Annex K functions which avoid many crashes, but annex K has not been adopted widely.

@Suhit-Majumdar
Copy link

Hi Can you please mention which branch and which code is causing this issue so that I can understand it better and try resolving the issue?

@coinhubs
Copy link
Author

Suhit-Majumdar

All branches. It's easy to reproduce on all computers. Why don't you start there?

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

2 participants