Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Unix.getaddrinfo when called on strings containing null bytes #2100
(in batch mode, add a
This PR fixes a bug found and tracked down by Joe at the mirage hack retreat.
changed the title
Fix Unix.getaddrinfo when called on strings containing zero bytes
Oct 10, 2018
Gabriel Scherer (2018/10/10 12:56 -0700):
Are there other unprotected uses of `return` in caml-exposed C functions?
I wondered, too. There are many uses of "return" in otherlibs/unix, but there are so many of them that I thought they must be correct but that's certainly something that would be worth investigating.
My understanding is that using