mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
4ce1f56a1e
This was found by a static analyzer.
We should not forget the trailing zero after copy_from_user()
if we will further do some string operations, sscanf() in this
case. Adding a trailing zero will ensure that the function
performs properly.
Fixes:
|
||
---|---|---|
.. | ||
bpf.c | ||
bus.c | ||
dev.c | ||
ethtool.c | ||
fib.c | ||
health.c | ||
hwstats.c | ||
ipsec.c | ||
macsec.c | ||
Makefile | ||
netdev.c | ||
netdevsim.h | ||
psample.c | ||
udp_tunnels.c |