dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

`luasocket` uses unsafe `inet_ntoa` function

Open ab9rf opened this issue 1 year ago • 0 comments

luasocket uses inet_ntoa which is deprecated, not threadsafe, and only supports ipv4, and should be replaced with inet_ntop

we don't actually use GetServerAddr and frankly at least one of the ways we're using GetClientAddr is cringeworthy

ab9rf avatar Sep 16 '24 17:09 ab9rf