diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-02-19 12:56:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-21 13:29:25 -0800 |
commit | 3a2eb515d1367c0f667b76089a6e727279c688b8 (patch) | |
tree | 408c10207fd18e48f775f445d47c560d00fc10e9 /net/tipc | |
parent | d310ec03a34e92a77302edb804f7d68ee4f01ba0 (diff) | |
download | linux-3a2eb515d1367c0f667b76089a6e727279c688b8.tar.bz2 |
octeontx2-af: Fix an off by one in rvu_dbg_qsize_write()
This code does not allocate enough memory for the NUL terminator so it
ends up putting it one character beyond the end of the buffer.
Fixes: 8756828a8148 ("octeontx2-af: Add NPA aura and pool contexts to debugfs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions