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

str2int_errno str2int(int *out, char *s, int base) s cannot be NULL #10

Open
amichalu opened this issue May 28, 2020 · 1 comment
Open

Comments

@amichalu
Copy link

str2int_errno str2int(int *out, char *s, int base) should check s against NULL value first

@cirosantilli
Copy link
Owner

I think I'd rather just let end users blow themselves up on UB if they break the API to avoid the overhead of an if :-)

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