string truncation warning fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ip: use strlcpy() to avoid truncationip/ lib/ misc/ +3 more | +18 | 1 reply | |
| 2/5 | tunnel: use strlcpy to avoid strncpy warningsip/ | +6 | 1 reply | |
| 3/5 | bridge: avoid snprint truncation on timebridge/ | +2 | 1 reply | |
| 4/5 | pedit: fix strncpy warningtc/ | +1 | 1 reply | |
| 5/5 | namespace: limit length of network namespacelib/ | +7 | 1 reply |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/5 | |
| 2/5 | A-b |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH iproute2 0/5] string truncation warning fixes
Building iproute2 with gcc-8 shows some new warning about string truncation. These are obvious patches to fix most of these. Still need to fix lib/bpf.c and tc/m_ematch.c
Stephen Hemminger (5):
ip: use strlcpy() to avoid truncation
tunnel: use strlcpy to avoid strncpy warnings
bridge: avoid snprint truncation on time
pedit: fix strncpy warning
namespace: limit length of network namespace
bridge/mdb.c | 4 ++-- ip/iplink.c | 14 +++++++------- ip/tunnel.c | 12 ++++++------ lib/namespace.c | 14 +++++++++++--- misc/nstat.c | 4 ++-- misc/ss.c | 2 +- tc/m_ematch.c | 2 +- tc/m_pedit.c | 2 +- tc/tc_class.c | 5 +++-- 9 files changed, 34 insertions(+), 25 deletions(-)
Signature · 1 line
2.16.2