[macruby-changes] [MacRuby/MacRuby] 82fed5: ext/socket: fix a buffer size in gethostname becau...
noreply at github.com
noreply at github.com
Mon Oct 10 02:26:29 PDT 2011
Branch: refs/heads/master
Home: https://github.com/MacRuby/MacRuby
Commit: 82fed521f7bdd5e029c68e9ddc5a63afff47b7f0
https://github.com/MacRuby/MacRuby/commit/82fed521f7bdd5e029c68e9ddc5a63afff47b7f0
Author: Watson <watson1978 at gmail.com>
Date: 2011-10-10 (Mon, 10 Oct 2011)
Changed paths:
M ext/socket/socket.c
Log Message:
-----------
ext/socket: fix a buffer size in gethostname because terminate NULL byte does not included in HOST_NAME_MAX when Host name length is HOST_NAME_MAX.
More information about the macruby-changes
mailing list