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

http.h: no buffer limits in scanf ? #24

Closed
dcb314 opened this issue Oct 30, 2015 · 0 comments
Closed

http.h: no buffer limits in scanf ? #24

dcb314 opened this issue Oct 30, 2015 · 0 comments

Comments

@dcb314
Copy link

dcb314 commented Oct 30, 2015

[http.h:53]: (warning) scanf without field width limits can crash with huge input data.

fscanf(file, "%s\n", buffer);

Suggest add number into %s.

[http.h:54]: (warning) scanf without field width limits can crash with huge input data.
[http.h:76]: (warning) scanf without field width limits can crash with huge input data.

Duplicates.

Markus-Go added a commit that referenced this issue Nov 6, 2015
- Fixed compiler warnings
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