We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e805ee commit 2d34a25Copy full SHA for 2d34a25
lib/truffle/socket/socket.rb
@@ -138,7 +138,7 @@ def self.gethostbyname(hostname)
138
addrinfos.each do |a|
139
sockaddr = Socket.sockaddr_in(0, a[3])
140
141
-
+ # Done manually because we want to read the full address as a String, even if it contains nul bytes
142
if a[4] == AF_INET
143
offset = Truffle::Config['platform.sockaddr_in.sin_addr.offset']
144
size = Truffle::Config['platform.sockaddr_in.sin_addr.size']
0 commit comments