getdomainname() isn't guaranteed to null terminate the string if it was
authorRob Landley <rob@landley.net>
Mon, 20 Feb 2006 16:31:44 +0000 (16:31 -0000)
committerRob Landley <rob@landley.net>
Mon, 20 Feb 2006 16:31:44 +0000 (16:31 -0000)
commit081d6d4380968dcbe90f66e31ba51ecce100998a
tree5210a3650324d0093bca21b9755d58b04ba220ce
parentb4ec339ac2959b2ec7d403be96efe026b0386ace
getdomainname() isn't guaranteed to null terminate the string if it was
truncated for length.  SVN 14135 made sure that the truncated version would
always be null terminated.  SVN 14144 broke this for no readily apparent
reason, and I have no idea what it was even trying to accomplish.  Reverted.
libbb/login.c