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 segfault during disassembly #23

Merged
merged 1 commit into from
Aug 13, 2012
Merged

Fix segfault during disassembly #23

merged 1 commit into from
Aug 13, 2012

Conversation

forestbelton
Copy link
Contributor

This fix addresses a segmentation fault that I was experiencing on my Ubuntu 12.04 LTS amd64 machine. The input of some words may not be representable as an unsigned char (or EOF), so the explicit cast is necessary to ensure defined behavior.

@travisbot
Copy link

This pull request passes (merged 034598e into 5522e25).

kulp added a commit that referenced this pull request Aug 13, 2012
Fix undefined behaviour during disassembly
@kulp kulp merged commit ea54e50 into kulp:master Aug 13, 2012
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.

3 participants