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

Please don't allocate 512 bytes on the stack #107

Open
PatrickDekker98 opened this issue Jan 10, 2023 · 0 comments
Open

Please don't allocate 512 bytes on the stack #107

PatrickDekker98 opened this issue Jan 10, 2023 · 0 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@PatrickDekker98
Copy link

PatrickDekker98 commented Jan 10, 2023

char buf[BUFSIZ];

This macro BUFSIZ expands to 521 bytes in stdio.h

@PatrickDekker98 PatrickDekker98 changed the title Please don't allocate 8192 bytes on the stack Please don't allocate 512 bytes on the stack Jan 10, 2023
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants