Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fixed off-by-one bug in the calculation of shm_name->len #8

Merged
merged 1 commit into from Apr 8, 2012

Conversation

Projects
None yet
2 participants
Contributor

mikegagnon commented Apr 7, 2012

shm_name->len should be the length of the string, not the number of bytes in the character array (which includes the null sentinel)

gnosek added a commit that referenced this pull request Apr 8, 2012

Merge pull request #8 from mikegagnon/master
fixed off-by-one bug in the calculation of shm_name->len

@gnosek gnosek merged commit a18b409 into gnosek:master Apr 8, 2012

Owner

gnosek commented Apr 8, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment