[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210219102844.1ecf1d25@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Fri, 19 Feb 2021 10:28:44 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Sunil Goutham <sgoutham@...vell.com>,
Christina Jacob <cjacob@...vell.com>,
Linu Cherian <lcherian@...vell.com>,
Geetha sowjanya <gakula@...vell.com>,
Jerin Jacob <jerinj@...vell.com>,
hariprasad <hkelam@...vell.com>,
Subbaraya Sundeep <sbhatta@...vell.com>,
"David S. Miller" <davem@...emloft.net>,
Prakash Brahmajyosyula <bprakash@...vell.com>,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] octeontx2-af: Fix an off by one in
rvu_dbg_qsize_write()
On Fri, 19 Feb 2021 12:56:32 +0300 Dan Carpenter wrote:
> 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@...cle.com>
Fix looks correct, thanks! The interface itself is another matter..
Powered by blists - more mailing lists