diff options
author | swkhack <swkhack@gmail.com> | 2019-05-17 09:59:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-17 20:31:15 +0200 |
commit | 34dcf6a1902ac214149a2742250ff03aa5346f3e (patch) | |
tree | d0d0b9aedcb5e2cc02f627b2e1b909befd29a1e2 /lib/random32.c | |
parent | ipv6: fix src addr routing with the exception table (diff) | |
download | linux-34dcf6a1902ac214149a2742250ff03aa5346f3e.tar.xz linux-34dcf6a1902ac214149a2742250ff03aa5346f3e.zip |
net: caif: fix the value of size argument of snprintf
Because the function snprintf write at most size bytes(including the
null byte).So the value of the argument size need not to minus one.
Signed-off-by: swkhack <swkhack@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions