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

This bug that this commit fixes causes getsockopt to randomly fail. The bug also makes memory overwrites possible. #30

Merged
merged 2 commits into from Feb 28, 2012
Commits on Feb 9, 2012
  1. Fix uninitialized variable 'option_len' in getsockopt. The parameter …

    epatey committed Feb 9, 2012
    …option_len is a pointer to an in/out variable. On input, it must specify the size of the output buffer. When uninitialized to a value smaller than the result of getsockopt, the method returns EINVAL.
Commits on Feb 17, 2012
  1. Fix Dialyzer warnings

    Ransom Richardson committed Feb 17, 2012
    Reimplement socket to not rely on undocumented list behavior