commit | f53ecee818280961d86c4ffb07c367144b91490d | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Nov 13 18:09:04 2015 +0100 |
committer | Stephen Hemminger <shemming@brocade.com> | Mon Nov 23 15:26:37 2015 -0800 |
tree | a1394a379de81753ce25ccf82206d3a051fc792c | |
parent | c957821b186e799fc86ae82c7d153b598a7a9c61 [diff] |
iptunnel: sanitize copying tunnel name Since p->name is only IFNAMSIZ bytes, do not copy more than IFNAMSIZ - 1 bytes into it so there remains at least a single null byte in the end. Signed-off-by: Phil Sutter <phil@nwl.cc>