1
1
openmpi/opal/mca/reachable/netlink
Jeff Squyres 28e51ad4d4 opal: convert from strncpy() -> opal_string_copy()
In many cases, this was a simple string replace.  In a few places, it
entailed:

1. Updating some comments and removing now-redundant foo[size-1]='\0'
   statements.
2. Updating passing (size-1) to (size) (because opal_string_copy()
   wants the entire destination buffer length).

This commit actually fixes a bunch of potential (yet quite unlikely)
bugs where we could have ended up with non-null-terminated strings.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2018-09-27 11:56:18 -07:00
..
configure.m4 reachable: remove libnl-1 support from netlink 2017-09-19 19:42:54 -07:00
libnl3_utils.h reachable: Simplify gateway check in netlink 2017-09-19 19:42:54 -07:00
libnl_utils.h reachable: Add IPv6 support to libnl code 2017-09-19 19:42:54 -07:00
Makefile.am reachable: remove libnl-1 support from netlink 2017-09-19 19:42:54 -07:00
owner.txt reachable: Change ownership to Amazon 2017-09-19 19:42:54 -07:00
reachable_netlink_component.c opal: use C99 subobject naming for component initialization 2015-04-18 10:29:58 -06:00
reachable_netlink_module.c opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00
reachable_netlink_utils_common.c reachable: Implement netlink component 2017-09-19 19:42:54 -07:00
reachable_netlink.h Add reachable framework for determining TCP connections 2015-02-17 21:47:09 -08:00