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 a heap overflow detected by Address Sanitizer #33

Merged
merged 1 commit into from
Aug 7, 2015

Conversation

mattprowse
Copy link
Contributor

Running my project with Address Sanitizer enabled, it detected a heap overflow here. I haven't delved into what the exact cause is, but using NSString's init?(data:encoding) rather than String's init(UTF8String) eliminates the problem.

@mdiep
Copy link
Member

mdiep commented Aug 7, 2015

Thanks for opening a pull request!

mdiep added a commit that referenced this pull request Aug 7, 2015
Fix a heap overflow detected by Address Sanitizer
@mdiep mdiep merged commit a610267 into Carthage:master Aug 7, 2015
@mattprowse mattprowse deleted the fix-heap-overflow branch August 7, 2015 00:57
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