diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-04-05 14:03:46 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-09 08:21:39 -0400 |
commit | 39ed7bb0c0e1d4c431033b77cdeb176cfeae26e9 (patch) | |
tree | f1b927b83af89149a97058ebd0b52cc9f15f2827 /src/resolv/async_resolv.c | |
parent | 20cd9a212158ef7ed2200d8746ae96c2feba6651 (diff) | |
download | sssd-39ed7bb0c0e1d4c431033b77cdeb176cfeae26e9.tar.gz sssd-39ed7bb0c0e1d4c431033b77cdeb176cfeae26e9.tar.bz2 sssd-39ed7bb0c0e1d4c431033b77cdeb176cfeae26e9.zip |
netlink integration: ensure that interface name is NULL-terminated
In the unlikely case that the interface name was IFNAMSIZ bytes long or
longer, strncpy wouldn't NULL-terminate the buffer. Copy one byte less
to ensure the buffer is NULL-terminated.
Diffstat (limited to 'src/resolv/async_resolv.c')
0 files changed, 0 insertions, 0 deletions