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

Fix stack buffer overflow on stringWithFormat #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iMacHumphries
Copy link

STR

  1. Enable Address Sanitizer

Screen Shot 2020-07-14 at 1 18 10 AM

2. Start scan.

Screen Shot 2020-07-14 at 1 18 54 AM

This was referenced Jul 14, 2020

int n =128;
char array12[8];
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively, you can make char array12[9] size 9 and make the last char null '\0'

@mavris
Copy link
Owner

mavris commented Jul 14, 2020

@iMacHumphries Hi Ben and thanks for the pull. I will have a look at it and I will accept it

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

Successfully merging this pull request may close these issues.

2 participants