[MacRuby/MacRuby] 82fed5: ext/socket: fix a buffer size in gethostname becau...
10 Oct
2011
10 Oct
'11
9:26 a.m.
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: 82fed521f7bdd5e029c68e9ddc5a63afff47b7f0 https://github.com/MacRuby/MacRuby/commit/82fed521f7bdd5e029c68e9ddc5a63afff... Author: Watson <watson1978@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.
5143
Age (days ago)
5143
Last active (days ago)
0 comments
1 participants
participants (1)
-
noreply@github.com