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

Don't write to index -1 #5

Merged
merged 1 commit into from
Jan 28, 2016
Merged

Conversation

mithris
Copy link

@mithris mithris commented Jan 28, 2016

Found an issue with removing an entry, where it appeared it was possible to index the array a bit strange.
It resulted in an error from realloc where the original size was garbled.

cmccabe added a commit that referenced this pull request Jan 28, 2016
lk_remove_sorted: fix issue where memmove could write to an invalid location
@cmccabe cmccabe merged commit f1a85b2 into cmccabe:master Jan 28, 2016
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.

None yet

2 participants