1
1
Jeff Squyres 650dd3e4cf opal/if/linux_ipv6: unify gethostname() call behavior
Unfortunately, https://github.com/open-mpi/ompi/pull/6797 was merged
before all feedback was received (39b799d936).  This PR is a minor
addendum to that commit.

This PR simply removes a meaningless `= {0}` operation.

The use of gethostname() here -- and many other places in the code
base -- is technically unsafe.  See
https://github.com/open-mpi/ompi/issues/6801 for a further description
of the issue and a suggested fix.  But the risk is quite low;
real-world hostnames are usually much shorter than
OPAL_MAXHOSTNAMELEN.  Hence, this PR just removes the meaningless
operation and leaves a real fix for gethostname() usage to a potential
future PR.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2019-07-09 10:38:24 -07:00
..
2018-10-16 13:17:09 -06:00
2018-12-18 14:37:04 -07:00
2018-12-18 14:37:04 -07:00
2019-02-08 11:11:25 -08:00
2019-01-29 13:34:44 -05:00
2019-02-13 10:21:39 -08:00
2017-08-03 09:18:58 -06:00
2015-06-23 20:59:57 -07:00