net: Fix buffer overrun error in netconsole
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 30 Aug 2017 22:32:31 +0000 (17:32 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jan 2018 18:05:14 +0000 (12:05 -0600)
commit3cacc6a7722f4ba397ddbac991f6aa19645cc887
treec467439ae547f760fb2254efd1cdf464b76b6eb7
parent4bf56913d0d3bf1e1dd9ccd54f582c034314b812
net: Fix buffer overrun error in netconsole

Need to not access the byte after the input_buffer.

Reported-by: Coverity (CID: 144423)
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/netconsole.c