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

Misc fixes #5

Merged
merged 4 commits into from
Jan 9, 2012
Merged

Misc fixes #5

merged 4 commits into from
Jan 9, 2012

Conversation

bluetech
Copy link
Contributor

@bluetech bluetech commented Jan 9, 2012

Hi,
Just a few fixes I made along the way. Pick as you like :)

Signed-off-by: Ran Benita <ran234@gmail.com>
Signed-off-by: Ran Benita <ran234@gmail.com>
Here's how it goes:
1. stdin reaches EOF, kmscon_eloop_rm_fd is called on stdin_fd.
2. The fd object is freed, the memory is reused in the meantime.
3. rm_fd is called again in destroy_eloop.
4. con->stdin_fd points to garbage and we get a segmentation fault.

Signed-off-by: Ran Benita <ran234@gmail.com>
Signed-off-by: Ran Benita <ran234@gmail.com>
@dvdhrm dvdhrm merged commit 30db190 into dvdhrm:master Jan 9, 2012
@dvdhrm
Copy link
Owner

dvdhrm commented Jan 9, 2012

I have pulled this. Thanks.

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