summaryrefslogtreecommitdiff
path: root/netsniff-ng.8
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-10-10 11:14:26 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-10-10 11:19:25 +0200
commitbed9b6bb58f83775a71361ef9f4f11f61afe452c (patch)
treee973b3d3231378868c91391c556211d91b3b8a6a /netsniff-ng.8
parent6e1ffd6cd41ba4ffb8fbc261c79ad124aa293253 (diff)
netsniff-ng: Don't modify optarg/argv
We shouldn't modify optarg (and thus argv) since it's e.g. used to display the commandline string in `ps'. Since strtoul() reads until it encounters the first non-numeric character and ignores the rest, we can just revert from setting a NULL byte after the numeric part of the string. Reported-by: Jon Schipp <jonschipp@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng.8')
0 files changed, 0 insertions, 0 deletions
lle warnings: drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/rdma/nes-abi.h')