summaryrefslogtreecommitdiff
path: root/src/lib/idmap/sss_idmap.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-04-05 14:03:46 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-09 08:21:39 -0400
commit39ed7bb0c0e1d4c431033b77cdeb176cfeae26e9 (patch)
treef1b927b83af89149a97058ebd0b52cc9f15f2827 /src/lib/idmap/sss_idmap.c
parent20cd9a212158ef7ed2200d8746ae96c2feba6651 (diff)
downloadsssd-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/lib/idmap/sss_idmap.c')
0 files changed, 0 insertions, 0 deletions